madhmad Posted May 1, 2011 Share Posted May 1, 2011 i hav this url n whenever i click on this url i get som mssg send on my mobile i hav a form whose code is Code: [select] <form action="formprocess.php method="post"> telephone<input type="text name="telephone> <input type="submit" name="submit"> </form> i want to send telephone as parameter to this url so whenever user enters his telephone he gets d mssg after clicking on submit.....but i hav no idea how to do tht...help me somone plssssssss http://www.abc.in/smsapi/sendsms.php?sendto=9987234123&msg=your Quote Link to comment https://forums.phpfreaks.com/topic/235288-pass-variables-in-url/ Share on other sites More sharing options...
fugix Posted May 1, 2011 Share Posted May 1, 2011 In your text input. You need to end the type and name with double quotes. You form action as well Quote Link to comment https://forums.phpfreaks.com/topic/235288-pass-variables-in-url/#findComment-1209116 Share on other sites More sharing options...
madhmad Posted May 1, 2011 Author Share Posted May 1, 2011 thts ok yar d form is working properly....i wrote dis code in hurry so i forgot double quotes......can u help me wid url thing pls Quote Link to comment https://forums.phpfreaks.com/topic/235288-pass-variables-in-url/#findComment-1209118 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.