Anybody can help me with this?I would like to update the status of the user in the mysql database whether its disabled/enabled by inserting 0 or 1 through the edit page.
eyeda
0
Newbie Poster
Recommended Answers
Jump to Post@eyeda
How to update the status of disable/enable account?
Can you explain it more in detail? It's a bit hard to help you if there's no MYSQL code. A code would be helpful.
Here is a link about Database:
http://webmaster.iu.edu/tools-and-guides/mysql/privileges.phtml
But it would be helpful …
Jump to Postyour query is fine. just check what you getting in POST array when you submit form place following code in the begining of your page after first php tag
<?php echo "<pre>"; print_r($_POST); echo "</pre>"; die('stop to check post array');
All 6 Replies
LastMitch
eyeda
0
Newbie Poster
urtrivedi
276
Nearly a Posting Virtuoso
coreyavis
13
Dev Poster
broj1
356
Humble servant
Featured Poster
eyeda
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.