** SOLVED** Problem running sql stored in the database
| From: | Ryan A | Date: | Fri, 09 Apr 2004 15:16:05 +0000 |
| Subject: | ** SOLVED** Problem running sql stored in the database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182991@lists.php.net to get a copy of this message | ||
Ok, got it solved after going through all the examples at the online manual
for eval()
Heres the final code (case you are interested):
if($sql_exists == 0){}else{$cust_qry=$o_sql;
eval("\$cust_qry = \"$cust_qry\";");
$cust_result = mysql_query($cust_qry);
Cheers,
-Ryan