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

update 2 columns by doing inner 2-column query
Hi,
is something like this possible?

update contract_all set col1,col2 =
(

Click counter to ignore traffic from search bots
I have a click counter on my site that...well, counts the number of clicks a link gets on the frontp

Formatting echo from database
So I have a database that stores First and last names, then echos them back to a website, as of now

Need Reporting Advice
My SQL server doesn't support MS SQL reporting services that comes with SQL Enterprise or Express. T

Adding to the next element in a multidimensional array
Hi, I'm trying to add a value to $node->field_spaces['nid'] where x is the next available spo

foreach result into a single variable
Hi,

I have this code...

Code: [Select]foreach ($_POST['Interests'] as $interest =&

distinct rows
Hi
version 10.2.0.3

I have a query output something like the following

ID

can i optmize image to 50% quality before uploading 2 server
Hi there

i have jus written a php program to upload and display images but when i try to uplo

regex for quoted text within a string
I am still getting the hang of regex expressions, but I cant seem to figure out how I would escape q

what does this mean? +=
is anyone able to explain what this code is saying?

i had it written for me awhile back and n

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