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

<--include virtual .....

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

<--include virtual .....

Postby glow » Tue Nov 26, 2002 11:06 am

Hi all! whats the best way to put files together like the <!-- #include virtual gaga.html--> does!? is in PHP a special way available to do the same?

Thanks for your help (i'm a beginer, and sorry about my english) :-)

THX, tom
glow
New php-forum User
New php-forum User
 
Posts: 10
Joined: Tue Nov 26, 2002 11:00 am

Re: <--include virtual .....

Postby WiZARD » Tue Nov 26, 2002 11:45 am

glow wrote:Hi all! whats the best way to put files together like the <!-- #include virtual gaga.html--> does!? is in PHP a special way available to do the same?

Thanks for your help (i'm a beginer, and sorry about my english) :-)

THX, tom

You may use functions:
include 'file.ext'
include_once 'file.ext'
require 'file.ext'
require_one 'file.ext'

or manipulate by this function by if
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol


Return to PHP coding => General

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

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

cron