[thelist] PHP Newbie Stuck....

Eric Cestari eric at ohmforce.com
Fri Jun 1 11:09:38 CDT 2001


And of course the magic function
?><pre><?
print_r($thingy);
?></pre><?

which shows you all your key/element pair of an array, object named
$thingy...
Maybe the most useful function for me :)

Cheers,
    Eric
----- Original Message -----
From: Jay Greenspan <jay at trans-city.com>
To: <thelist at lists.evolt.org>
Sent: Friday, June 01, 2001 6:00 PM
Subject: Re: [thelist] PHP Newbie Stuck....


> A real good idea to track down errors like this is to use the or die()
> process. That way you'll get meaningful errors when they occur.  At some
> point above this, presumably, you have a line like:
>
> $result = mysql_query($sql_string);
>
> change that to:
>
> $result = mysql_query( $sql_string ) or
>    die ( mysql_error() );
>
>






More information about the thelist mailing list