Re: error query
| From: | Devon Knowles | Date: | Sat, 02 Mar 2002 15:35:28 +0000 |
| Subject: | Re: error query | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12399@lists.php.net to get a copy of this message | ||
Try building the SQL statement outside of the query. I've usually found that
it fixes the problem.
$sql = "SELECT ID, alt FROM " . $MID . " LIMIT 10";
$newpics = mysql_query($sql);
- Devon Knowles