Re: [PHP] Nested PHP

2004-02-02 Thread Jon Bennett
you can also do stuff like this... ?php if ($someVar == true) { ? html titlesomeVar appears to be true/title ?php } else { ? html titlesomeVar appears to be false/title ?php } ? Thanks, Jon jon bennett | [EMAIL PROTECTED] new media creative _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

[PHP] Nested PHP

2004-02-01 Thread Russell Shaw
Hi, I have php code embedded in html, that is read by apache. Is nested php code allowable such as: ? $phpcode=? echo \ some html \ ?; ? ... html ... body ? echo $phpcode ? /body /html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Nested PHP

2004-02-01 Thread John Nichel
Russell Shaw wrote: Hi, I have php code embedded in html, that is read by apache. Is nested php code allowable such as: ? $phpcode=? echo \ some html \ ?; ? ... html ... body ? echo $phpcode ? /body /html Yes. -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General

Re: [PHP] Nested PHP

2004-02-01 Thread Robby Russell
Russell Shaw wrote: Hi, I have php code embedded in html, that is read by apache. Is nested php code allowable such as: ? $phpcode=? echo \ some html \ ?; ? ... html ... body ? echo $phpcode ? /body /html Not sure what you're trying to do there. You can do this: ?php $phpcode =

Re: [PHP] Nested PHP

2004-02-01 Thread Russell Shaw
Robby Russell wrote: Russell Shaw wrote: Hi, I have php code embedded in html, that is read by apache. Is nested php code allowable such as: ? $phpcode=? echo \ some html \ ?; ? ... html ... body ? echo $phpcode ? /body /html Not sure what you're trying to do there. I am generating