Re: I want to send data with JavaScript.

From: Date: Fri, 12 Jan 2007 14:40:50 +0000
Subject: Re: I want to send data with JavaScript.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-246999@lists.php.net to get a copy of this message
2007. 01. 12, péntek keltezéssel 23.15-kor Napura ezt írta: > It questions the mailing list for the first time. > > To other forms by using JavaScript in PHP > Can data able to be passed, and passed only one data that can be passed in the > following codes? > Please tell me. > > function p_submit(bb) { > sform=top.window.document.S_form; > sform.param.value = bb; > sform.action = "pform.php"; > sform.submit(); > } > > Only "param"1 piece can be sent in this code. might be stupid idea but what if you add another lines like sform.param1.value = 1; sform.param2.value = 2; as I think param/param1/param2 should be the name of the element of $_POST/$_GET in your php script hope that helps Zoltán Németh > > Please help. > > Napura<napura@sky.707.to> >

« previous php.general (#246999) next »