mysql update?

26.03.2013 15:21
#1
art2003
Joomshopping forum user no avatar
Name: Arturas
05.04.2012
Posts: 9
Quote
mysql update?

in com_jshopping/templates/default/category/category_default.php
i want change product_ean, so i add:

<td>
<form method="post">
<input type="text" name="new_ean" value="<?php print $product->product_ean;?>">
</form>
</td>
mysql_query("update jos_jshopping_products set product_ean='$_POST['new_ean']")

but after submit, mysql update, but category_default.php not.
is it transaction problem?

 
Copyrights MAXXmarketing GmbH. All Rights Reserved