Re: RES: [PHP] CSS and variables

2009-11-21 Thread tedd
This might help: http://sperling.com/examples/pcss/ Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: RES: [PHP] CSS and variables

2009-11-20 Thread Phil Matt
Jônatas Zechim wrote: Try: echo '' . $row[1] . ''; Thanks, Jônatas. This was the solution. Cheers --- Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RES: [PHP] CSS and variables

2009-11-20 Thread Jônatas Zechim
Try: echo '' . $row[1] . ''; -Mensagem original- De: Phil Matt [mailto:ad...@philmatt.com] Enviada em: sexta-feira, 20 de novembro de 2009 14:12 Para: php-general@lists.php.net Assunto: [PHP] CSS and variables De-lurking here. I'm trying, with no success, to u

Re: [PHP] CSS and variables

2009-11-20 Thread LinuxManMikeC
On Fri, Nov 20, 2009 at 9:12 AM, Phil Matt wrote: > De-lurking here. > > I'm trying, with no success, to use some CSS styling on my PHP output. > > Here's the code I want to style: > > echo ''.$row[0].''.$row[1].' > > I want to use a CSS style for the second cell, picking up the style > from the

Re: [PHP] CSS and variables

2009-11-20 Thread richard
Hi, > $newcolor = "color: red"; > > '.$row[1].' > > But it doesn't work. No problem with th "spacer" class, works fine. I just > can't get the syntax for pulling a CSS style from a PHP var. You could do this: {$row[1]}"; ?> -- Richard Heyes HTML5 graphing: RGraph - www.rgraph.net (updated 14th

[PHP] CSS and variables

2009-11-20 Thread Phil Matt
De-lurking here. I'm trying, with no success, to use some CSS styling on my PHP output. Here's the code I want to style: echo ''.$row[0].''.$row[1].' I want to use a CSS style for the second cell, picking up the style from the value of a variable. I tried this: $newcolor = "color: red"; '