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
My God!!
You're all stars!!! (This is the **fastest** mailing list I've ever joined)
If I have *loads* of links (not just audio & visual) is there a way to
create a file to include them all?
Basically - what I've got is a frameset with side & main frames (side is for
nav, main is for... well,
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]
Hi,
Could someone please help me? If I have links on my page:
Link 1 Here
Link 2 Here
And then side.php is the following:
Blah
Where the files to be included are: audio.txt and visual.txt respectively,
what php code should I put in my side.php? (the extention of the
8 matches
Mail list logo