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
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?
]
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
- 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
You would do
?
$title = some title here;
?
HTML
HeadTitle? echo $title; ?/Title/Head
or
?
$title = some title here;
echo Title$title/Title;
?
Hope that helps
Sheridan
- Original Message -
From: jessica lee tishmack [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 18,
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
6 matches
Mail list logo