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.

Did you know?Explore Trending and Topic pages for more stories like this.
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

Php If in MySql query (hiding labels if a field is empty)
Okay, I've been trying to do this for a while, and I'm finally going to ask for help so I can get th

quick basic question, hopefully not dumb
I don't know how to search for this, so forgive me if it's been covered...

I often see an exa

very easy question about SQL info
Hello,
I think that I have a very easy question.
I know how to create a form using php SQL and

help with multi-update
Now sure how to ask this really....
10g database if that matters.

I have a customer

mysql UPDATE request not working and driving me crazy!!!
Hi,

I have been stuck on this for ages.

Quite simply I am trying to update my database

FROM_UNIXTIME($phpdate);
Hello,

I tried to use this :

$date = FROM_UNIXTIME($phpdate);

ANd I was t

Required to login help
I'm trying to set up my site so users have to be logged into the forum to access the site.I've been

links using header()
Hi All

I'm not sure where to ask for help on this but I hope someone can offer some. I'm at

AJAX form submit
I recently built a form that submits data to my database with an ajax function that is called throug

first id from db not showing
I have a php script which displays the content of a mysql table as a html table with sorting, delete

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