# Page doing nothing when form is submitted

**URL:** https://forum.kirupa.com/t/page-doing-nothing-when-form-is-submitted/252329
**Category:** programming
**Created:** [February 19, 2008, 3:57am UTC](https://forum.kirupa.com/t/page-doing-nothing-when-form-is-submitted/252329 "2008-02-19T03:57:28Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jpearson311](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jpearson311](https://forum.kirupa.com/u/jpearson311)
#### Post date: [February 19, 2008, 3:57am UTC](https://forum.kirupa.com/t/page-doing-nothing-when-form-is-submitted/252329/1 "2008-02-19T03:57:28Z")

</div>

Can anyone look at this code and tell me why nothing happens when I click on the delete or save buttons that are spit out by the php? Thanks!

```auto

while ($r=mysql_fetch_array($query)){
$image=$r["img"];
$image_title=$r["title"];
$image_description=$r["description"];
?>

<div id="purchasecontainer"><img src="<?php echo $image; ?>" align="left" width="150" height="150"/></div><div id="purchasecontent"><form action=<?php echo $PHP_SELF; ?> method="post"><p>Title:</p><input name="title" type="text" class="inputs" id="title" value="<?php echo $image_title; ?>" /><p>Description:</p><textarea name="description" id="description"><?php echo $image_description; ?></textarea><input name="save" type="button" class="save" value="Save" /><input name="delete" type="button" class="delete" value="Delete" /></form></div>
<?php 
}
?>

```
