Re: [PHP] Eval()??? A variables contents?

2001-11-09 Thread Kurt Lieber
On Friday 09 November 2001 11:51 am, Christopher Raymond wrote: Let's say I have: $content = ?PHP Query_Database( $category );?; If I use ?PHP echo $content; ?, it doesn't evaluate that content. What am I doing wrong here? What you're doing doesn't make any sense. If it were to work, it

Re: [PHP] Eval()??? A variables contents?

2001-11-09 Thread Chris Hobbs
I just asked a similar question yesterday. The answer is, conveniently enough, eval(). One trick from the php.net page on the function is to do somehting like this: $content = ?PHP Query_Database( $category );?; echo eval (?$content); Christopher Raymond wrote: PHP Gurus: I have one for

Re: [PHP] Eval()??? A variables contents?

2001-11-09 Thread Christopher Raymond
on 11/9/01 2:01 PM, Kurt Lieber at [EMAIL PROTECTED] wrote: What you're doing doesn't make any sense. If it were to work, it would look like the following: ?PHP ?PHP Query_Database( $category );? ; ?, or something similar. I think what you want to do is: ?php $content =

RE: [PHP] Eval()??? A variables contents?

2001-11-09 Thread Johnson, Kirk
http://www.php.net/manual/en/function.eval.php Kirk -Original Message- From: Christopher Raymond [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 2001 1:11 PM To: PHP List Subject: Re: [PHP] Eval()??? A variables contents? on 11/9/01 2:01 PM, Kurt Lieber at [EMAIL