to
insert/select/update to the database the website works with).
Jon Snell
-Original Message-
From: Nick Norton [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 3:57 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Please Help!!!! - Really BASIC stuff!
Just put the following instead of a l
Just put the following instead of a long switch and keep your file naming
conventions consistent
include("side_$page.txt");
--
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 adminis
This will allow you to have more control over what pages get edited...
but you can use something a little easier like...
At 09:02 PM 3/6/01 +, you wrote:
>Hi Martin,
>
>It's important to know that "Stuff" in the Url like this are just
>variables. For example :
>
> foo.php?fruit=apples&
There are loads of different ways to spit out a text file.
The easiest is readfile($Filename) which does exactly what you want,
providing that the file already contains sanitised html (eg instead of
newlines etc.
If not, you could use fread to get the file contents into a variable and
then proc
Hi Martin,
It's important to know that "Stuff" in the Url like this are just
variables. For example :
foo.php?fruit=apples&dog=snoopy&others=huh&more=yep
Now with foo.php we can do this (a few exceptions) :
echo "$dog would like to each some $fruit";
And in your case, you have $page so
Use include(). Like
http://www.jwebmedia.com/
1 877 525 jWEB
--
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]
6 matches
Mail list logo