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!
Kinda like
<input type="submit" value="Delete" rowidnumber=$row['id']>
if(isset($_GET['Delete']))
{
// Delete Row From Table
$query = "DELETE * FROM table WHERE id = $rowidnumber";
}
I know that isn't really possible, but thats what im trying to accomplish.
It would require Javascript, and the page code wouldn't be standards compliant, but that is possible, albeit not exactly like you have it.
If you wish to avoid Javascript, depending on your page design, you can create standards compliant forms for each row that would allow for submission of that rows' data. Now, of course, the page layout is easier to do if you don't care for standards compliance. I'm referring to <form> being inside or outside table rows or cells.