My PHP code will not update my member_status in my database

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
amir
Forum Contributor
Posts: 287
Joined: Sat Oct 07, 2006 4:28 pm

My PHP code will not update my member_status in my database

Post by amir »

Hello!

My code does not update my database what might be the possibilities instead of

1; i am connected with database
2; values are coming in variables
3; my update query works in phpmyadmin


TIA!
Last edited by amir on Tue Dec 12, 2006 1:00 pm, edited 1 time in total.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Firstly, we only want to see relevant code and not have to skim through hundreds of lines of code for a very vague question.
Secondly, your going to have to be as specific as possible, such as outlining the mentioned code lines.
Thirdly, Well.. we'll stop here and wait for you to make the appropriate changes :wink:
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Since there's no code, I'll just guess that you have an error in your query syntax near "2"
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I would say your possible solutions are
Post Reply