TYPICAL COMMANDLINE SESSION [bash] $echo $? 0 $echo $? 0 $exit 10 | tee solve.txt $cat solve.txt $rm solve.txt $exit 10 | echo $? 0 $exit -1 | echo $? 0 $exit -1 | echo $? 0 $false | true $echo $? 0 $false $echo $? 1 $true $echo $? 0 $exit 5 | tee …
Tag Archives: error
[php] september 23 2011
PHP Code die(‘Could not connect: ‘ . mysql_error()); Code Dissection 1. die() — A PHP Function. The die() function prints a message and exits the current script. 2. mysql_error() — A PHP function. The mysql_error() function returns the error description of the last MySQL operation.