On Wednesday 01 October 2003 00:10, Chris W. Parker wrote: [snip]
> If you're not sure what a value is use print_r() to determine it. > > echo "<pre>"; > print_r($chk); > echo "</pre>"; > > Quick side note on the above code: > > You cannot write it like: > > echo "<pre>".print_r($chk)."</pre>"; > > It will not work. You can do this though: echo "<pre>", print_r($chk), "</pre>"; Or if using a recent version of php: echo nl2br(print_r($var, 1)); //or something like that -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* No bird soars too high if he soars with his own wings. -- William Blake */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php