Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

include

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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
DoppyNL
 


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron