RE: [PHP-DB] php-mysql-and the elusive eval statement....

2001-11-02 Thread Rick Emery
That which is in an evel() must be valid PHP code. ? is not PHP, rather it terminates a PHP segment. What ARE you trying to execute? I've used eval() with arguments extracted from a mySQL database many times with success. -Original Message- From: Richard A. Noordam [mailto:[EMAIL

Re: [PHP-DB] php-mysql-and the elusive eval statement....

2001-11-01 Thread Petr Tuma
I would think that you can't use '?' nad '?' special tags in the eval function (at least use only one of it). Try this ?php eval(?hi?); ? But I think that what will is that it will stop execution on the '?' sign (end of PHP code) and print out an error like 'missing closing quote' or such. On