[thelist] PHP problem varible
Hans-Fr=?ISO-8859-1?B?6WTp?=ric Fraser
hfraser at videotron.ca
Wed Jan 8 21:35:00 CST 2003
On 1/8/03 9:48 PM, "Todd Ballard" <ToddManaze at ev1.net> wrote:
> A little help please! I don't under stand what im doing wrong?
> Todd
>
> <?
> $html = "<SPAN class=\"title\"> $title </span>";
> $title = "The Title";
> echo $html;
> ?>
the variable is defined after you use it !
try this:
<?
$title = "The Title";
$html = "<SPAN class=\"title\"> $title </span>";
echo $html;
?>
More information about the thelist
mailing list