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 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 -- 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]