> It seams all I have to do is put <?echo $cheader?> at the top of the
> page and it should work just like putting variables into a page.
> 
> But is does nothing. I would look in the manual or the archives but I
> don't no wear or what to look for. It seams this should be simple what
> am I missing hear

It sounds to me like you're trying to store PHP code in the database and
have it execute it before sending it to the browser, is this correct?

If it is:

  You can't do this just like that. Your PHP code is text in the database,
  and when PHP pulls it out and echo's the whole thing it'll just send it
  to the browser. You might need to use eval(). More info:

    http://www.php.net/manual/en/function.eval.php

If it's not:

  I got the wrong idea, so please explain some more. :)

Jason

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