Posts: 3,176
Name: Thierry
Location: I'm the uber Spaminator !
|
No, it's ok. It was my question.
Now I know that the "status" field is really a varchar field.
I just reviewed the PHP code you gave up there, and I don't see much to say.
The logic seems ok.
Just, is it the full file, or just an excerpt of it?
I'm asking because I find a bit strange that you do the update part after the display.
It means that when you hit this page with an update request, you first fetch and display the value in the db, then do the update.
Therefore, what is displayed on the page is not up to date.
Could this be your problem?
When you click the update button in the page, do you see the changes in the db if you check the particular entry you updated ?
__________________
Only a biker knows why a dog sticks his head out the window.
|