boolean toggle
…when switching don’t mind using:
if ($val==0) $val = $1; else $val = 0;
instead use:
$val = abs ($val-1);
3 notes
Posted on Saturday April 2nd
-
what-i-learnt-today reblogged this from ec1975 and added:
While exploring Tumblr, I saw the following post:...It’s ok (except the $1 typo); but the...
-
ec1975 posted this
