function page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
chris_s_22
Forum Commoner
Posts: 76
Joined: Wed Dec 31, 2008 2:05 pm

function page

Post by chris_s_22 »

im still learning the basics but i notice that many tutorials use
the page structure like so but dont tell you why they have done it this way.

1st page gets data for example a form
2nd recieves data from 1st page and checks data then calls a function
3rd page is function page what tells it what to do with data

ok my questions are:
why do you not send form data to same page? is this a security issue?
why do you seperate the function?
what are the advantages and disadvantages of doing it on seperate pages or just doing everything on one.
Post Reply