Re: [PHP] set var in PHP clarified

2001-07-19 Thread Gunther E. Biernat
Jessica, I used that technique before PHP was available (for all readers, the key term here is Server Side Includes, e.g. http://httpd.apache.org/docs/howto/ssi.html.html). With PHP you're a lot more flexible so that you should get rid of your shtml structure, especially as PHP is much faster

[PHP] set var in PHP

2001-07-18 Thread jessica lee tishmack
In html, I can do !--#set var=TITLE value=some title here-- How do I do this in PHP? Thanks, Jessica -- 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:

RE: [PHP] set var in PHP

2001-07-18 Thread scott [gts]
u $TITLE = some title here; -Original Message- From: jessica lee tishmack [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 11:28 AM To: php Subject: [PHP] set var in PHP In html, I can do !--#set var=TITLE value=some title here-- How do I do this in PHP

[PHP] set var in PHP clarified

2001-07-18 Thread jessica lee tishmack
Thanks for the prompt replies...but I think I should clarify... In regular html, I would do this: !--#set var=TITLE value=some title here-- !--#include virtual=/include/header.html -- and header.html would have in it (among other things): title!--#echo var=TITLE --/title So, the title of the

Re: [PHP] set var in PHP

2001-07-18 Thread Jon Yaggie
] To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 10:47 PM Subject: RE: [PHP] set var in PHP In html, I can do !--#set var=TITLE value=some title here-- I've actually never seen this in html... How do I do this in PHP? but is this what you are talking about? $TITLE = some title here

Re: [PHP] set var in PHP clarified

2001-07-18 Thread Jon Yaggie
- Original Message - From: jessica lee tishmack [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 10:50 PM Subject: [PHP] set var in PHP clarified Thanks for the prompt replies...but I think I should clarify... In regular html, I would do this: !--#set

Re: [PHP] set var in PHP clarified

2001-07-18 Thread Sheridan Saint-Michel
, 2001 10:50 AM Subject: [PHP] set var in PHP clarified Thanks for the prompt replies...but I think I should clarify... In regular html, I would do this: !--#set var=TITLE value=some title here-- !--#include virtual=/include/header.html -- and header.html would have in it (among other

Re: [PHP] set var in PHP

2001-07-18 Thread Slavomir Slizik
Hello, it isn't regular html, it is only server-parsed stuff .. Server Side Includes. You won't need that in PHP, just do: ? $TITLE=This is my title.; ? htmlhead title?=$TITLE?/title blah blah blah .. SSL On Wed, 18 Jul 2001, jessica lee tishmack wrote: In html, I can do !--#set