note 50391 deleted from function.eval by nlopess
| From: | nlopess@php.net | Date: | Sat, 26 Feb 2005 20:09:05 +0000 |
| Subject: | note 50391 deleted from function.eval by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-85596@lists.php.net to get a copy of this message | ||
Note Submitter:
----
<?php
$connect = mysql_connect("host","user","password");
mysql_select_db("db");
$query = mysql_query("SELECT * FROM sider WHERE id = '$_GET[id]'");
while ($row = mysql_fetch_array($query)){
$indhold = $row['indhold'];
eval("\$indhold = \"$indhold\";");
}
?>
I have this code, but it dosen't work. It says: Parse error: parse error in visside.php(9) :
eval()'d code on line 3.
And I have tried a lot of other tinh to, which didn't worked either.. Anybody know what is
wrong?
Please help me...