I would like to know the use/meaning of !
in if(!$db)
. If it were to be if($db)
(without the exclamation mark), I'll understand.
I've tried searching Google and PHP.net for it but got nothing. Please can someone help me?
Here's the code:
if(!$db)
die("Database not configured.");
if(!mysql_select_db("$dbname",$db))
die("No database selected.");