Re: Help With Getting Values Please!
| From: | Johannes Janson | Date: | Wed, 23 May 2001 16:47:22 +0000 |
| Subject: | Re: Help With Getting Values Please! | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9576@lists.php.net to get a copy of this message | ||
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