[thelist] PHP problem varible

Tony Crockford tonyc at boldfish.co.uk
Thu Jan 9 02:54:01 CST 2003


> A little help please! I don't under stand what im doing wrong?
> Todd

The order you're assigning each variable means that $html is empty when
set.

try:

<?
$title = "The Title";
$html = "<SPAN class=\"title\"> $title </span>";
echo  $html;
?>




More information about the thelist mailing list