[PHP] Using link to submit a form

2003-07-30 Thread Tyler Longren
Hi everyone, Can I replace Submit buttons on forms with a text button? I need to be able to click on a link: a href=index.php?option=editEdit/a and have it submit the form. The form only contains one field...does anyone know how to do this? I've been searching google for an answer, but

Re: [PHP] Using link to submit a form

2003-07-30 Thread andu
--On Wednesday, July 30, 2003 14:32:11 -0500 Tyler Longren [EMAIL PROTECTED] wrote: Hi everyone, Can I replace Submit buttons on forms with a text button? I need to be able to click on a link: a href=index.php?option=editEdit/a Something like: a href=javascript:

RE: [PHP] Using link to submit a form

2003-07-30 Thread Jennifer Goodie
Hi everyone, Can I replace Submit buttons on forms with a text button? I need to be able to click on a link: a href=index.php?option=editEdit/a and have it submit the form. The form only contains one field...does anyone know how to do this? I've been searching google for an answer,

RE: [PHP] Using link to submit a form

2003-07-30 Thread Matt Palermo
//Just use this javascript function... echo script LANGUAGE=\JavaScript\ !-- function LetsSubmit(where) { document.forms[0].action = where; document.forms[0].submit(); } //-- /script ; // Then output the submit link like this... echo a