Forum Moderators: coopster
Somehow, the X doesn't show up, instead they all turn into question marks. So I can't delete any field using the X icon. Also, the pencil icon only shows up on some rows. The rest turn into question marks too.
What's wrong with my table? I checked my other tables in the database and they all have the icons.
I didn't know that a primary key is required for every table. I don't define a primary key every single time since I think it's not needed in all cases, but I guess I need to now.
Thank you for replying.
I didn't know that a primary key is required for every table. I don't define a primary key every single time since I think it's not needed in all cases, but I guess I need to now.
I've been thinking about this and I don't think it's true in general that a primary key is needed for every table. Correct me if I'm wrong.
The problem in phpMyAdmin is that the single row delete has to work off a unique value (i.e. a primary key) otherwise how would it know which condition to delete on up front. If you click the check box and then hit delete below then it uses the field data as conditions to delete.