Jankit Shah - Important notes
Technical skills turns into complexity and creativity turns into simplicity.
27 August 2009
Swap values of two variable in PHP
$a = 2;
$b = 6;
print_r(list($a, $b) = array($b, $a)); //Swap values of two variable in PHP
?>
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment