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(
pass the value of reference as an argument to your 'deleteCategory()' and
'renameCategory()' functions:
script type=text/javascript
function deleteCategory(refVal) {
... do something with refVal ...
}
function renameCategory(refVal) {
... do something with refVal ...
}
/script
$table =