View Full Version : login form using a function
08-21-2007, 08:09 PM
is there a way to handle submit on a login form to make the action call a php function? because I have all kinds of functions that I have wrote and I was going to make a handle page for each update, add, delete. I was wondering if there is away to call those functions using action. Suggestions?
08-21-2007, 08:40 PM
If you mean after you submit the form you can use an action that includes what you want to do on the next page: page.php?do=function
08-22-2007, 01:29 AM
Just set the value of your submit button differently for each action then use a switch to determine which function to call.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.