Re: Newibie: fetch Obj question - data not showing.
| From: | 9el | Date: | Sun, 05 Apr 2009 16:55:00 +0000 |
| Subject: | Re: Newibie: fetch Obj question - data not showing. | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-291098@lists.php.net to get a copy of this message | ||
>
> Because I’ve never debug on my entire life of programming (2 months). :D
>
> In the meanwhile, I will search how to debug using print_r and var_dump.
>
> ROFL ha hahaha
echo '<pre>', print_r($array),'</pre>'; // here pre is
used to
keep the way its outputed in HTML
echo '<pre>', var_dump($array),'</pre>';
please dont forget to study the online php manual and also the
php_manual.chm version downloaded to your PC.
Its never a good idea to not to debug.