Have I done mistake in PHP include???

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Roshan
Forum Newbie
Posts: 2
Joined: Mon Jan 19, 2009 12:10 am

Have I done mistake in PHP include???

Post by Roshan »

Hello,

Whenever I include { <? include("menu.php") ; ?> } the php file in index.php page. it is not visible in web browser. Please help me.

Roshan.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Have I done mistake in PHP include???

Post by alex.barylski »

Your computer probably has a virus...reformat, re-install and try again. :drunk:
Last edited by onion2k on Mon Jan 19, 2009 3:08 am, edited 1 time in total.
Reason: PCSpectra was banned for 7 days for this post. This forum is for helping people, not making fun of them.
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: Have I done mistake in PHP include???

Post by papa »

Try <?php .... ?>
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: Have I done mistake in PHP include???

Post by onion2k »

Roshan.. post the code for index.php and menu.php.. then we'll be able to give you some more help.
Post Reply