Jump to content

Does the row exist?


SkullMaster

Recommended Posts

Can anyone tell me if there is a mysql command to search for a row number in a mysql table? im working on a file upload site and displaying the file info. I recently added the admin's delete feature that deletes the row from the mysql table, and now i have missing rows and get errors when i try to display the file info.

Warning: mysql_result(): Unable to jump to row 19 on MySQL result index 24 in /home/skullmas/public_html/working/admin2.php on line 99

i was just looking for something that would let me see if row 19(for example) was in the table before it tried to get the data that doesnt exist from it.

Thanks
Link to comment
Share on other sites

[!--quoteo(post=374717:date=May 17 2006, 12:48 PM:name=SkullMaster)--][div class=\'quotetop\']QUOTE(SkullMaster @ May 17 2006, 12:48 PM) [snapback]374717[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Can anyone tell me if there is a mysql command to search for a row number in a mysql table? im working on a file upload site and displaying the file info. I recently added the admin's delete feature that deletes the row from the mysql table, and now i have missing rows and get errors when i try to display the file info.
[/quote]
How is that even possible? What query are you running that returns deleted rows?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.