Napisano: 27 Jul 2010 15:39
Ne radi, nije mi izmenio nista
Dopuna: 27 Jul 2010 15:41
Kod mi je sledeći
<?php
include_once "../scripts/connect_to_mysql.php";
mysql_query("SET NAMES utf8_general_ci");
mysql_query("SET CHARACTER SET utf8_general_ci");
mysql_query("SET COLLATION_CONNECTION='utf8_general_ci'");
$id = $_POST['id'];
$name = $_POST['name'];
$price = $_POST['price'];
$query = mysqli_query($myConnection, ("UPDATE products set name='$name', price='$price' 'WHERE id='$id'")) or die (mysqli_error($myConnection));
echo 'Operation Completed Successfully! <br /><br /><a href="index.php">Click Here</a>';
exit();
?>
Dopuna: 27 Jul 2010 15:44
Našao sam grešku hvala na pomoći, problem je bio u formi
|