Search found 5 matches

by simcityfreak4
Sat Jun 23, 2007 9:07 am
Forum: PHP - Code
Topic: MySQL query not working
Replies: 12
Views: 884

I got it fixed now. I just had the script post to a different page instead and had it run that same update query and it works fine now.

Thanks for everyones help!
by simcityfreak4
Fri Jun 22, 2007 10:26 pm
Forum: PHP - Code
Topic: MySQL query not working
Replies: 12
Views: 884

Thats weird, I tried the same script in IE and it works fine, but it doesn't want to work right in FF. :banghead:
by simcityfreak4
Fri Jun 22, 2007 5:54 pm
Forum: PHP - Code
Topic: MySQL query not working
Replies: 12
Views: 884

That prints this:


Debug: UPDATE `Members` SET `viewa` = '1', `timed` = '1', `timef` = 'asdf' WHERE `board` = 'Brian' AND `user` = 'Brian' AND `id` = '3'
affcted rows: 1
1
1 1 asdf
by simcityfreak4
Fri Jun 22, 2007 5:10 pm
Forum: PHP - Code
Topic: MySQL query not working
Replies: 12
Views: 884

I changed it and the script doesn't die, it keeps going.
by simcityfreak4
Fri Jun 22, 2007 4:55 pm
Forum: PHP - Code
Topic: MySQL query not working
Replies: 12
Views: 884

MySQL query not working

My script has 3 input fields, and when you press submit this is the code it posts to: $idu = mysql_real_escape_string($_GET['id']); $rid = mysql_real_escape_string($_GET['rid']); $viewa = mysql_real_escape_string($_POST['VIEW_AVS']); $timed = mysql_real_escape_string($_POST['VIEW_TIME']); $timefp = ...