Before Anyone says "go read xxxx" I have read a few articles on how to create it and notably one that really helped: http://www.phpbuilder.com/columns/evert20000816.php3 by Evert Smith but I still have some questions...
What I'm currently doing is when a page loads, a form is presented based on the current records in a table..say tblInventory...so if I change a record in the DB then it's reflected on the page the next time it loads and no code in php and html need be changed.
What im having trouble doing is the add/modify/delete part.... My problem is that im not sure how to distinguish one row from the other on the form.... So if the user fills in X quantity and clicks add then how do I know which row he is talking about... I've seen some references about using PHP_SELF along with some href html tags but I'm a little confused at this point.
Moreover, can anyone tell me the difference between using list() or array()... I'm unsure as to which would suit my problem best.
Lastly, if anyone has the chance, could they explain or better yet, post a simple piece of code that creates a 2 dimensional array in php?