Re: [PHP-DB] Submit Button variable passing

2008-05-03 Thread Matt Anderton
pass the value of reference as an argument to your 'deleteCategory()' and 'renameCategory()' functions: function deleteCategory(refVal) { ... do something with refVal ... } function renameCategory(refVal) { ... do something with refVal ... } $table = "\n"; while($row = mysql_fetch_array(

[PHP-DB] Submit Button variable passing

2008-05-03 Thread Ron Piggott
In the PHP script below I need to be able to pass on the value of 'reference' within the shopping_cart_product table when the "Delete Category" and "Rename Category" buttons are clicked. How do I do this? Ron mysql_connect('localhost',$username,$password); @mysql_select_db($database) or die( "