RE: [PHP] Change styling depending on var value

From: Date: Fri, 20 Nov 2009 21:37:11 +0000
Subject: RE: [PHP] Change styling depending on var value
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-299991@lists.php.net to get a copy of this message
> -----Original Message----- > From: Ashley Sheridan [mailto:ash@ashleysheridan.co.uk] > Sent: 20 November 2009 21:16 > To: Phil Matt > Cc: php-general@lists.php.net > Subject: Re: [PHP] Change styling depending on var value > > On Fri, 2009-11-20 at 16:17 -0500, Phil Matt wrote: > > > Ashley Sheridan wrote: > > > > > copy the results of this: > > > > > > vardump($row); > > > > > Sirloin Steak fresh Acme meat > > Chicken Breast frozen Acme meat > > Decaf Columbian pantry Giant coffee > > Ice Cream frozen Giant dessert > > > > All looks as expected. > > NB: This is just test data until I get the formatting right. > > > > Cheers --- Phil > > > That's not a vardump, a vardump would contain the type of variable. > I > wanted to see the whole thing. > Ash, you mean var_dump! Phil, put var_dump($row); right before your if statement and report the result back to this list. Cheers! Mike -- Mike Ford, Electronic Information Developer, Libraries and Learning Innovation, Leeds Metropolitan University, C507, Civic Quarter Campus, Woodhouse Lane, LEEDS,  LS1 3HE,  United Kingdom Email: m.ford@leedsmet.ac.uk Tel: +44 113 812 4730 To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm

« previous php.general (#299991) next »