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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment