RE: Change styling depending on var value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Ashley Sheridan [mailto:ash@xxxxxxxxxxxxxxxxxxxx]
> Sent: 20 November 2009 21:16
> To: Phil Matt
> Cc: php-general@xxxxxxxxxxxxx
> Subject: Re:  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@xxxxxxxxxxxxxx 
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux