LanceT Posted February 4, 2007 Share Posted February 4, 2007 Seems like my mysql table just won't update, can you guys tell me some ways I could test for the error? I don't get any mysql errors, but what happens is that all my fields get replaced with blanks. Thanks for the help. Quote Link to comment https://forums.phpfreaks.com/topic/36983-solved-having-trouble-updating-my-table/ Share on other sites More sharing options...
shoz Posted February 4, 2007 Share Posted February 4, 2007 If you posted the code we could look through it and possibly find the error. It's likely that the variables that you're using in the query string are empty. Perhaps you're using $_GET when you should be using $_POST or something similar. You can echo the query before you put it through "mysql_query()" to see the actual query string to verify if my assumption is true. If you're unable to find the problem post the code you're using. Quote Link to comment https://forums.phpfreaks.com/topic/36983-solved-having-trouble-updating-my-table/#findComment-176505 Share on other sites More sharing options...
LanceT Posted February 4, 2007 Author Share Posted February 4, 2007 ah yes I found the problem, thanks a lot though. Quote Link to comment https://forums.phpfreaks.com/topic/36983-solved-having-trouble-updating-my-table/#findComment-176518 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.