Can't Find What is Wrong
Posted: Mon Jun 29, 2009 12:20 pm
Code: Select all
if(mysql_num_rows($res_status)==0 && $row->total_quentity==0)
echo <font color="#FF8C00">"Sold"</font>;Thanks in advance
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
if(mysql_num_rows($res_status)==0 && $row->total_quentity==0)
echo <font color="#FF8C00">"Sold"</font>;gaddyf wrote: I want the "sold" word to have a different color when posted but i keep getting syntax error message. Can someone help me with this code?
Code: Select all
if (mysql_num_rows($res_status)==0 && $row->total_quentity==0)
echo '<font color="#FF8C00">Sold</font>';