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 = query_database($category);
> echo $content;
> ?>
> 
> that's using psuedo-code, of course.  You'll want to substitute correct php
> syntax for returning database results.




Kurt:

I understand where you are coming from, and I appreciate your answer.
However, I'm trying to get PHP to parse commands that are stored in a
variable because I'm passing those commands to a function. Inside the
function, it needs to evaluate the commands stored in the variable.

Does you solution solve that or does my description clarify my problem
better?


Thanks,

Christopher


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to