[Solved] query() to a non-object


replace

$link->query($update);

with

mysql_query($update, $link);

because $link is a Mysql link identifier, it have no any methods.
use http://php.net/manual/en/function.mysql-query.php instead.
and yea.. its deprecated

0

solved query() to a non-object