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

drop-down with sub-category appear
Hello,

i know how to build a simple dro-down list, im looking for a code when im gonna choose

registration form
first time posting. did some searches but didnt find exactly what i am looking for. dont flame cause

problem with php server update from mid 2009
Hi,

I have this navigation menu on 2 websites which used to work just fine. After a recent up

Count on multidimensional array
Hi, i got an array as below:

Array
(
=> Array
(

HELP with mysql_real_escape_string
I'm looking to remove apostrophes completely when someone enters lyrics but don't have a clue how to

Request-URI Too Large
I have created a simple submit form for a mysql database that puts a piece of code into database.<

having probem inserting data into db table
hi

i have a table with following columns in it
Code: candidate_id, degree, cgpa, institute

Select Lists into MYSQL
Hello All, I am new to PHP @ 1 week. So borrowing code anywhere I can. I am making progress, but h

array_diff weirdness
I'm using the following bit of code

$diff = array_diff($pids, $pidlist);
$diff = array_va

weeks in a year
hi,

i found this snippet on php.net
QuoteFor the week number for weeks starting on Sunday:

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