In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Ricardo Fitzgerald) wrote:

> *print '<td width="25%" bgcolor="#FcaF00"><b><font face="Tahoma, Verdana, 
> Arial, Sans Serif">Ref:</font><b/></td>';*
> *print '<td width="25%" bgcolor="#FFFF00"><b><font face="Tahoma, Verdana, 
> Arial, Sans Serif">$reference</font><b/></td>';*
> 
> the problem is with the output, the table is fine but the variable $reference 
> otputs it's name $reference instead of it's value i.e. 345. I'm getting mad 
> because I know this has to be some kind of syntax error but I tried 
> exchanging quotes for double quotes, adding parenthesis and stuff like that 
> and I couldn't figure out what the prob is ...

Re-try the double quotes.  Variable expansion is available within double 
quotes.  It is not within single quotes.

-- 
CC

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to