<input type="submit" name="<?php code here ?>" value="Submit">
I tried that and it didnt work maybe I'm doing somthing wrong.
Bascily what I'm doing is hacing my script display the contents of a database with a button next to each row saying delete and I want the button to be able to del the row when clicked my full code is:
In order to achieve this, I recommend you read the chapters of the book "Building a database driven website using PHP and MySQL" which are posted on the articles part of the SitePoint Network. There you find the solution to this problem. It is a part of the 4th chapter, which is on publishing MySQL data on the web.
If you would rather skip reading the entire chapter (which I would not recommend), you can find the solution to this problem here.
Bookmarks