Hi,
I have a very simple CMS that I have been building for a car dealership who needs to be able to update his online inventory.
Here is what I have so far:
[URL=”http://randdtrucks.com/inc/upload/index.php”]http://randdtrucks.com/inc/upload/index.php
[B]Part 1: Adding
When the fields in the form at the top are filled in, upon submission the data is written to an XML file and the photo is uploaded to a directory.
[B]
Part 2: Deleting
The user also has the ability to select the checkbox to the left of any entry to mark it for deletion. Upon submission the image is removed from the directory and the reference in the XML file is removed.
[B]Part 3: Submission
When ready, the user clicks the submit button at the bottom of the page.
As you can see there are already 32 entries.
My question is what if my user decides NOT to add an entry but instead only delete an entry? How would I get my program to “ignore” or bypass the input fields at the top of the page?
I can provide the PHP code if it is necessary to clarify my question.
Thank you,
Jon