note 91200 deleted from function.eval by danbrown
| From: | danbrown@php.net | Date: | Fri, 29 May 2009 17:20:42 +0000 |
| Subject: | note 91200 deleted from function.eval by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-156160@lists.php.net to get a copy of this message | ||
Note Submitter: webmaster at drakkofox dot net
----
Never, Never ever forget the ";" on the end of the eval string, if you are adding it to
eval a variable attribuition;
<?php
$data = "$key"."_$sequence";
eval("\$idct=\$idedit_$data;");
?>
we took a long time to discover that the problem was a ";" missing in the end.