PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
The following line deletes a product in my shopping cart by placing an action straight on the url of the cart. How could deleting a product be achieved without placing anything on the url ?
You made a mistake in your HTML. You have the form working as a POST one, which is good, but your "trash can" part is what I'm worried about.
If you want to use an image as a submit button, change the input's type. And you don't make links in your form with the <a> tag. You simpy make submit buttons and it'll be pointed at the place you put in the "action" attribute for your <form> tag.
I'd suggest you look at a few basic tutorials for working with forms and be sure to read everything explained carefully. If you want to go a step further, I'd even suggest reading a beginner book for PHP. They help explain a lot of the basics and it gives you a good foundation for self-learning online.