Hey everybody !
Sorry for the title not explaining that much my problem :
I got a form which sends some data to a file called join.php.
The fact is that I created a 3 different forms, respectively to create, modify and delete a product, and I would like them to send their data to join.php, instead of creating 3 separated join.php.
I'd like to execute a particular sql query depending on the choice to create, modify or remove the product, and I'd like to have some tips about that.
Thx in advance !
Multiple forms to 1 post
Started by blink41, Apr 30 2010 05:25 AM
2 replies to this topic
#1
Posted 30 April 2010 - 05:25 AM
|
|
|
#2
Posted 01 May 2010 - 12:29 AM
easiest is to put a hidden value stating mode in the form...
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#3
Posted 02 May 2010 - 11:44 PM
Well, I don't really understand what you mean.
What I'd like to do is having multiple posts in one file, for example :
<?php name=first case
?>
<?php name=second case
?>
etc...
And in my form, I'd like to have : method=post1, post2 etc...
I really don't know if it's possible, or if the method you mentioned will do what I want, that's why I'm asking.
Thanks anyway !
What I'd like to do is having multiple posts in one file, for example :
<?php name=first case
?>
<?php name=second case
?>
etc...
And in my form, I'd like to have : method=post1, post2 etc...
I really don't know if it's possible, or if the method you mentioned will do what I want, that's why I'm asking.
Thanks anyway !


Sign In
Create Account


Back to top









