Posted by Ivαn Sαnchez Ortega on 06/18/07 22:34
Computer Guy wrote:
> I do not understand the if (!$link) part
If no connection has been set to the database, for any reason, throw an
error and die gracefully.
> what does the ! mean and what is the value of link?
http://www.php.net/manual/en/language.operators.logical.php
http://php.net/mysql_connect (the part about "return values")
--
----------------------------------
IvΓ‘n SΓ‘nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-
Siempre y nunca, es tan largo el uno como el otro.- Elsa Triolet.
Navigation:
[Reply to this message]
|