This is a part of addtobasket.php file
i want to change the normal submit button with my stylish one but dont know how to do.
here is code...
...require("header.php");
echo "<form action='addtobasket.php?id=". $_GET['id'] . "' method='POST'>";
echo "<table cellpadding='10'>";
echo "<tr>";
if(empty($prodrow['image'])) {
echo "<td><imgsrc='./images/image_not_found.png' width='50' alt='". $prodrow['name'] . "'></td>";
}
else {
echo "<td>
<img src='./images/" . $prodrow['image']. "' width='50' alt='" . $prodrow['name']. "'></td>";
}
echo "<td>" . $prodrow['name'] . "</td>";
echo "<td>Select Quantity <select name='amountBox'>";
for($i=1;$i<=100;$i++)
{
echo "<option>" . $i . "</option>";
}
echo "</select></td>";
echo "<td><strong>Rs:". sprintf('%.2f', $prodrow['price']) . "</strong></td>";
echo "<td><input type='submit'
name='submit' value='Add to basket'></td>";
echo "</tr>";
echo "</table>";
echo "</form>";
}
}
?>
i want to add this button instead of simple submit button
<button class="button green">
<div class="title">Add to cart</div>
<div class="price"<?php echo "<td>" . $prodrow['price'] . "</td>"; ?> </div>
</div>
thanks in advance