[PHP] I want to send data with JavaScript.
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 param1 piece can be sent in this code. Please help. Napura[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] I want to send data with JavaScript.
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 param1 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[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] I want to send data with JavaScript.
N駑eth Zolt疣 , Thank you. It safely solved it. It survived. Moreover, my best regards. 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 param1 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[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php