Multiple Pages


Posted on 16th Feb 2014 07:03 pm by admin

Hi. Im very new to php. I'm trying to create a basic login/registration page.

So I have a basic template (with headers and footers and stuff) - main.php. The contents are to be inside a table.

The login/registration pages(login.php, register.php etc) do not have any hearders/footers, and I want them to be inserted inside the table in main.php. I tried doing it with the @include('register.php'), but then these pages have links inside them, which opens separately.

How can I 'embed' the different pages in one single page - main.php?? I hope you understand my question.

Thanks in advance

No comments posted yet

Your Answer:

Login to answer
268 Like 41 Dislike
Previous forums Next forums
Other forums

Gaining access to Drop Down Menu Variable
code is below, I am creating a drop down menu. I want to echo the value selected in the drop down me

PHP form authentication
Hi guys,

what am trying to achieve is this: Whenever a user tries to login to my website, an

PHP - MySQL Fail
My PHP code will only execute the first part of my code...

Code: <?php

sessio

Need help with basic sql
Hi,

I am using oracle 10g, and having some small doubts related to sql , here goes the si

Changes to hosting company's server has affected web contact form
I started a thread a couple of months ago about the contact forms on my client's website. Basically

mysql_real_escape_string making variable equal nothing
i post a form and i post the variable:
Code: $var = $_POST[variable];then i echo $var its what i

Wrong Info sent Using $get in form
Hi i have this code that i tried to make to send some info from one page to aother with lots of ppls

retrieving images from mysql database using php
So I've been trying to figure out how to store images in a mysql database, and as far as i can tell

Getting PHP to ammended the selected in option field
Hey Guys

thanks for everyones help so far. This site and its users are oozing awesomness.

Array becomes unset by itself?
Hi,

I have a bit of experience with PHP but not extensive. It seems I cannot store any items

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash