include

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

DoppyNL

Postby DoppyNL » Thu Sep 19, 2002 5:40 am

Include simply includes the file at the point it is called.

see http://www.php.net/include for more details.

also, you can use a relative path to the file you're including. you don't have to type in the entire URL (allthough you may).

you can include you're menu like this, if you're index-file is in the same dir.

Code: Select all

include('menue.php3');


Greetz Daan


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 1 guest

cron