simple table Class issue

Soldato
Joined
9 Dec 2006
Posts
9,289
Location
@ManCave
So its been a really long day & only got 1 thing to get working.

please help me out my mind is to tired to see the obvious now

what have imissed :(

what works
PHP:
Print "<td>".$info['User']."</td> ";

What doesnt
PHP:
Print "<td class="datacellone">".$info['User']."</td> ";
 
Try this

PHP:
Print "<td class=\"datacellone\">".$info['User']."</td> ";

The back slashes prevent the String from being terminated by the double quotes.
 
Try this

PHP:
Print "<td class=\"datacellone\">".$info['User']."</td> ";

The back slashes prevent the String from being terminated by the double quotes.

Or just use single quotes


PHP:
Print '<td class="datacellone">'.$info['User'].'</td>';
 
Back
Top Bottom