I'm new to MySQL and following a tutorial in a book to design a PHP MySQL website. Following this tutorial, I created a PHP page from which I can update entries in the MySQL database. What's strange is that only specific entries in the database will not update, while others (the majority) will update without any trouble. I can update all entries using PHP MyAdmin. Just curious, has anyone run into this issue before?
jonathan.flesher
0
Newbie Poster
Recommended Answers
Jump to Post@jonathan.flesher
I'm new to MySQL and following a tutorial in a book to design a PHP MySQL website. Following this tutorial, I created a PHP page from which I can update entries in the MySQL database. What's strange is that only specific entries in the database will not update, …
Jump to Post@jonathan.flesher
I have spent a bit of time looking into whether the content could be distrupting the code, but I don't see any problems with the records that won't update compared to the records that do update.
Did you write this code?
On this line 48:
Jump to Post@b.wickham
That part of the code works. (Even if the record does not update, it still directs the user to view correct entry after clicking submit. It just hasn't been changed.) There are specific id's that will not UPDATE and they appear to be random, such as id 4, …
All 9 Replies
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
LastMitch
jonathan.flesher
0
Newbie Poster
jonathan.flesher
0
Newbie Poster
jonathan.flesher
0
Newbie Poster
LastMitch
b.wickham
0
Newbie Poster
LastMitch
b.wickham
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.