how to manage a process php file??
i want every form which connected to database just use one php file..how to separate every command inside that php file??can i do that?
how to manage a process php file?? i want every form which connected to
Share
The easiest way is to have a hidden variable in each form. In the PHP processing page, you check for that variable, perhaps in a
switchstatement and do the appropriate code there.That being said, I don’t recommend this method. It makes you add extra data and it makes the processing more complicated and confusing. I suggest having each page post to itself and operate off data there.