Click here to Skip to main content
15,881,967 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HTML
<input type="text" class="textbox" name="comments" size="35" maxlength="250" value="" style="width: 95%" />


I want to insert it so it would be like this:

adress.com?action=&comments=adede


but it doesn't work with comments, and I can't seem to figure out what else..
Posted
Updated 19-Mar-14 1:24am
v2
Comments
Tejas Vaishnav 19-Mar-14 7:16am    
what is your scripting language, like ASP.NET, PHP, Java etc... and from where your are going to redirect your page to pass your query string value..?
Member 10682223 19-Mar-14 7:20am    
I'm not that smart, I'm going to redirect from a php page to another php page.
the php page I'm redirecting to only have one textbox, however I want to fill that textbox with some text without going into the code and editing value="", I want it to be edited for only those who use the specific link I give them, something like that.´

The form uses the method POST.

1 solution

can you please review below link, it will explain how to pass value from one php page to anther php page..


http://www.ysquared.org/php/basics/use-the-query-string/[^]

http://html.net/tutorials/php/lesson10.php[^]

http://stackoverflow.com/questions/8469767/get-url-query-string[^]
 
Share this answer
 
Comments
Tejas Vaishnav 19-Mar-14 7:47am    
if my answer is solved your problem then please accept it as solutions and don't forget to rate it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900