Jump to content

sarabjit

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

sarabjit's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. it worked!! thanks!! will i need to do this for every variable??
  2. i'm at my wits end to solve this thing... i have a simple form with only one field (userQuery) on one page which is being analyzed in the next... here's the form: [b] <form action="search.php" method="get"> <tr><td colspan="2"><div align="center"> <input name="userQuery" type="text" id="userQuery" size="86"> </div></td></tr> <tr><td width="225"><input type="submit" name="Submit" value="Search"></td> </tr> </form>[/b] and here's the code in search.php which picks this query: [b] <?php if (isset($userQuery)) { ... } else { ... } ?>[/b] the condition isset ($userQuery) however is always resulting in false, even though my address bar shows: http://.../search.php?userQuery=test&Submit=Search Any ideas??
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.