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

How to Call Php file

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

How to Call Php file

Postby jefrey1983 » Wed Jan 30, 2013 8:44 am

under index.php, i want to call the external php file which contain the html element

header.php <html><head></head>
body.php <body>
footer.php </body></html>

Thanks in advance
jefrey1983
New php-forum User
New php-forum User
 
Posts: 1
Joined: Wed Jan 30, 2013 8:37 am

Re: How to Call Php file

Postby seandisanti » Fri Feb 08, 2013 1:12 pm

check out include(),include_once(),require(),and require_once()
seandisanti
php-forum Fan User
php-forum Fan User
 
Posts: 773
Joined: Mon Oct 01, 2012 12:32 pm


Return to PHP coding => General

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest

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

cron