Hi,

>$sql2 = "SELECT ServiceDes FROM ServiceTypes WHERE ServiceID = $serviceid";

put single quotes around $serviceid.

>$service_type = mysql_result($sql2, 1);

I might be perpetuating the spreading of rumors but I've heard and read
somewhere
that mysql_query() is supposed to be better in the performance. Perhaps
someone
else could clear this point for me thus stopping the rumors.

Cheers
Johannes



-- 
PHP Database 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