How to swap variables…….? Piece of cake!
$var_1 = 'Variable 1'; $var_2 = 'Variable 2'; list($var_2, $var_1) = array($var_1, $var_2); echo $var_1 .'&'. $var_2;
You must be logged in to post a comment.
Interested in...
View Results
» Latest comments