Random coding fact of the day
One thing I love about php is the ability to go:
$result = mysql_query($query) or die();
The "or" syntax just means, "if this operation returns false, perform this other action" - used mostly for error reporting or whatever. The "die" function stops processing the page (and, yes, there's usually some useful error message inside those brackets but for the purposes of this post that's not important).
I just really enjoy telling a page to commit seppuku if it fails in its duties.
$result = mysql_query($query) or die();
The "or" syntax just means, "if this operation returns false, perform this other action" - used mostly for error reporting or whatever. The "die" function stops processing the page (and, yes, there's usually some useful error message inside those brackets but for the purposes of this post that's not important).
I just really enjoy telling a page to commit seppuku if it fails in its duties.
no subject
no subject
no subject
no subject
PHP stands for PHP Hypertext Processor?
So what does the first PHP stand for?
no subject
Of course, really it's just because geeks think recursive acronyms are clever. like GNU stands for "GNU's Not Unix".
I roll my eyes.
no subject
*see recursive
no subject
no subject
no subject
no subject
no subject
no subject
no subject