954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Why do incorrect value pairs still reflect a record?

Hi everyone!

Unexpected situation. Is there a setting in MySQL that permits a record to be output to the requesting page even though one of the two value pairs is incorrect? And if so, can it be changed?
Here's the problem:

I have attached a querystring to a URL. It has two value pairs, Film_ID and FilmTitle. When passed to the browser, they successfully retrieve the record, but when I alter the value of Film_ID in the actual URL, to another value, i.e. 1 to 15, the form will display a different record, EVEN THOUGH I have not changed the value of FilmTitle.

What am I missing here? Shouldn't the form simply be empty if I fail to change both values?

Thanks for your comments.

briandouglas
Newbie Poster
3 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
 

What is your query?

Try executing the same query in query browser and you will have the same result as the webpage.

dickersonka
Veteran Poster
1,175 posts since Aug 2008
Reputation Points: 130
Solved Threads: 143
 

Thanks for responding. Here is the query:

<a href="http://www.mysite.com/CommandControl/Farsi1024/Distributor_Film_Information_Form.php?Film_ID=<?php echo $row_rsInitial_Email_to_Dist['Film_ID']; ?>&FilmTitle=<?php echo $row_rsInitial_Email_to_Dist['FilmTitle']; ?>">Yes, I'm curious</a>
briandouglas
Newbie Poster
3 posts since Oct 2008
Reputation Points: 10
Solved Threads: 0
 

what is the query on the page

Distributor_Film_Information_Form.php

dickersonka
Veteran Poster
1,175 posts since Aug 2008
Reputation Points: 130
Solved Threads: 143
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You