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
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
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 =
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
4 matches
Mail list logo