caringnoah Posted September 7, 2012 Share Posted September 7, 2012 I don't understand why I'm not writing a event handler to the submit button like I was in asp.net, but instead we write a action and method attribute to the form tag, and it miraculously know I want it to run the code from external php of the action attribute when I click the submit button? Link to comment Share on other sites More sharing options...
Larry Posted September 7, 2012 Share Posted September 7, 2012 PHP works differently than ASP.NET, that's the short answer. I think of the PHP route being the actual traditional route (i.e., this is the way it's done in all form handling outside of ASP.NET, as far as I know). 1 Link to comment Share on other sites More sharing options...
Recommended Posts