liamloveslearning Posted May 17, 2008 Share Posted May 17, 2008 Hey everybody, Im currently working on building a messaging system on my website, and just to test everything ive populated my tables with pre defined messages. A problem im having is that when I check my inbox my messages appear fine, i then reply to a message (update record form), and it sends the user the new message but also removes the previous message from the "senders" inbox? sorry if my wording has confused anybody; but has anybody the slightest idea? I myself have none Thanks Link to comment https://forums.phpfreaks.com/topic/106095-update-record-removes-data-from-another-page/ Share on other sites More sharing options...
BlueSkyIS Posted May 17, 2008 Share Posted May 17, 2008 your SQL is removing records. you need to add debug code. echo you SQL wherever it's used, to find where it is inappropriately deleting records. Link to comment https://forums.phpfreaks.com/topic/106095-update-record-removes-data-from-another-page/#findComment-543784 Share on other sites More sharing options...
liamloveslearning Posted May 17, 2008 Author Share Posted May 17, 2008 Thanks for the speedy reply! sorry Im quite new to this so what do you mean by debug code? Im pretty sure I know where its deleting the records from.. thanks again Link to comment https://forums.phpfreaks.com/topic/106095-update-record-removes-data-from-another-page/#findComment-543785 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.