Hey guys, first post here on the board, I hope you can help me out! I tried a search but I couldnt narrow it down enough not knowing the proper terms
I am getting into writing php and I have the simple stuff down like variables and getting stuff from a mysql database but the thing that I am running into is the fact that for every action that I want to do I end up writing a NEW php script to take care of that part of it. Like I have a php file called submit_phone.php and it contins the form and then I have a php script called phone.php that does something and writes the output.
Is there a way to submit to the "same" script? as in post to itself and get results? Is it bad to do this?
I think that it would cut down on clutter. I use include templates for page header and footer stuff and some of the more standard non changing parts of the page. But I think that I am limiting myself so far by not knowing this.
Thanks alot everyone!