Mysql


#1

why cant i update mysql database from my web page

i have a database called cbjdfamily and a table called foo with a field labeld hit

what is wrong with this code, note i am not showing the password.

is there more set up i need to do.

<?php $connection = mysql_connect('mysql.cbjdfamily.com', 'cbjdfamily', '*****') or die ("No connection!"); mysql_select_db('cbjdfamily', $connection) or die ("No database!"); $query=("UPDATE count SET hit = 12 "); $result=mysql_query=($query); ?>