How to Call Php file

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

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

php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: How to Call Php file

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

check out include(),include_once(),require(),and require_once()

Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 3 guests