PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
What will i add on my search variable?
I tried $_REQUEST['search'], i know im doing this wrong, i just want some advise on how i should go about with this one.
neugent wrote:I have a search box, and search button which will submit on itself. I want my data to appear on my URL, how can i possibly do that?
change your form method to get.
neugent wrote:
What will i add on my search variable?
I tried $_REQUEST['search'], i know im doing this wrong, i just want some advise on how i should go about with this one.
Thank you in advance.
no idea what you're after here...if you mean how do you reference the passed variable, use the $_GET[] array (if you change the method to "get" or the $_POST[] array if you leave it as post.