hi,
I need to create a link, which would work as button for POST method... Is it possible?
Because then i will use images for their nice appearance.
Thanks.
hi,
I need to create a link, which would work as button for POST method... Is it possible?
Because then i will use images for their nice appearance.
Thanks.
You could make a form with method post with an input type=image as a submit button and a input type=hidden for the data. Otherwise you would need javascript to either do something AJAX'y or to submit a hidden form with the method post.
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
I have 2 forms...
<form action='forumas_pr.php?id=$id' method='post' enctype='multipart/form-data'>
<form action='forumas_pr.php?id=$id' method='post' enctype='multipart/form-data'>
if I push oe of them, my php wont kow which I pushed, because each button has different effect... How I can make difference bettween them? 1.) method='post' 2.) method='post2' ??
Give the forms names. <form name="">
Also don't put variables in single quotes they wont be parsed.
php is: if(isset($_POST['submit'])) so how I can change that?
Bookmarks