|
#1
|
||||
|
||||
Can't update user status
I have new columns in my users_status table for user achievements, but I can't seem to update them. I see lines like these in user.php that works for the others:
PHP Code:
PHP Code:
It's supposed to run when the user just visits the page since I wanted to avoid using buttons for this, but it doesn't work and I can't see why. Any ideas?
__________________
|
#2
|
||||
|
||||
Why don't you just use this?:
PHP Code:
|
#3
|
||||
|
||||
It is, I didn't realize I was using it though. Thanks for pointing that out! It still doesn't work though.
__________________
|
#4
|
||||
|
||||
Umm, I can't figure out what's wrong, but why don't you try printing out value for $adoptAmount to see if the value is correct.
|
#5
|
||||
|
||||
Found out what was wrong. I was using adoptamount in the database update instead of adoptAmount like it should be >_<
__________________
|
|
|
What's New? |
What's Hot? |
What's Popular? |