Re: Change styling depending on var value
| From: | Ashley Sheridan | Date: | Fri, 20 Nov 2009 22:07:16 +0000 |
| Subject: | Re: Change styling depending on var value | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-299996@lists.php.net to get a copy of this message | ||
On Fri, 2009-11-20 at 17:08 -0500, Phil Matt wrote:
> Ashley Sheridan wrote:
> >
> > As Mike pointed out, I meant var_dump(), sorry!
> >
>
> Is the idea to put the variable in question within the parentheses?
>
> I tried the statement,
>
> var_dump($row[3];
>
> And I got in the output:
>
> NULL
>
> Also tried
>
> var_dump();
>
> And I got in the output:
>
> Warning: Wrong parameter count for var_dump() in...
>
> I reread the PHP manual for var_dump. I still don't see where it goes in
> the PHP script or how to implement it.
>
> Cheers --- Phil
put
var_dump($row);
Thanks,
Ash
http://www.ashleysheridan.co.uk