Page 1 of 1

"include" php help

Posted: Sun Dec 17, 2006 6:30 pm
by paul_20k
hi

I had 4 frames in my all pages. I changed my html to php. I removed all frames from my pages and used "include" in all pages but I am getting the main contents of the pages below the left side menu table. I want the main contents parallel to side menu and just below the top menu. I have top menu, left menu and bottom bar on all the pages. Will I have to add or change some code in the included php files? visual interface for top, left and bottom looks fine.

Thanks

Posted: Sun Dec 17, 2006 6:36 pm
by darkfreaks
try putting the include in a seperate tag at the top or move it around until you get it in the right order.

Posted: Sun Dec 17, 2006 6:36 pm
by John Cartwright
Consider including php files like copy and pasting the code into a single file. So the order of which you include them does matter.

I can't really provide a more insightful answer without seeing some code.

Posted: Sun Dec 17, 2006 6:36 pm
by feyd
I would guess your HTML is wonky.

Posted: Sun Dec 17, 2006 6:40 pm
by darkfreaks
i have to agree your includes are in the wrong order but without pasting any code we cant help you. :lol:

Posted: Sun Dec 17, 2006 6:44 pm
by paul_20k
Thanks all

I will try that copy and paste approach and keep you updated.

Thanks

Posted: Sun Dec 17, 2006 6:47 pm
by John Cartwright
paul_20k wrote:Thanks all

I will try that copy and paste approach and keep you updated.

Thanks
No no I did not mean to copy and paste. I meant that including is LIKE copy and pasting.

Posted: Sun Dec 17, 2006 7:34 pm
by paul_20k
Hi Jcart

I understood it before...thanks...:)