Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Weird query string

Status
Not open for further replies.

clanm

Programmer
Dec 26, 2005
237
US
my querystring looks like this:

I only need the Email query string parameter, but the button name and value are getting concatenated to the end.
I validate the form since the user has to enter some or all of the email address.

Why is this happening?

Here's some of the HTML that should help:

<form id="frmViewInfo" name="frmViewInfo" method="get" action="AdminEditByEmail.php">
<table width="80%" border="1">
<tr >
<td width="100%">Email:<font color="red">*</font></td>
<td width="100%"><input name="Email" type="text" id="Email" size="100" maxlength="100" /></td>
</tr>
</table>
<p align="center">
<input name="btnSubmitInfo2" type="submit" id="btnSubmitInfo2" value="Click To View User Information" />

</p>
 
I thought my page that looks for the Email query string should be fine...and it was...I had two server behaviors "Show if recordset not empty" and another "Hide if empty", and the table I wanted to use to display the "contains" Email query string data was in the "Hide" portion of the page!

Thanks...sorry for the confusion!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top