|
|
|
|
$query = "UPDATE agro_enterprise SET title='$title',
keywords='$keywords',
description='$description',
name='$name',
boss='$boss',
adress='$adress',
telephone='$telephone',
additionale='$additionale',
photo='$photo',
site='$site',
email='$email',
id_pynkt= $pynkt,
WHERE id_enterprise=$id_enterprise";
|
Выдает ошибку:
ошибка You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax
to use near 'WHERE id_enterprise=1' at line 13
|
все переменные передаются, проверял вот так:
echo"$title<br>$keywords<br>$description<br>$name<br>
$boss<br>$adress<br>$telephone<br>$additionale<br>$photo<br>
$site<br>$email<br>$pynkt<br>$id_enterprise";
|
| |
|
|