I’m new to PHP (used to Python) and I’ve been instructed to create something that will allow users to CRUD entries. I was originally going to use a textarea field and sort by which numbered row they were, but I realized that if a user deleted a row, that it would screw up all the UIDs for the whole system.
So now here I am, several hours into the project and trying to figure out what’s the best way to create something which A) allows multiple rows of data B) allows this information to be deleted or updated C) allows additional rows to be added D) shows all the rows available (this can be scrollable, so that it all doesn’t display at once)
Database is MySQL
Are any of these easy to integrate? I don’t know quite how much access I have to the server that this is running on.
Consider looking at a framework that comes with prototyping or scaffolding support like CakePHP. Besides PHPMyAdmin, that’s probably the fastest way of getting CRUD functionality to work with an existing datastore.