i have made a script that adds to a tabel in mysql, one problem is, even though it echos that it worked. it doesnt add them :(
<?php
$dbhost = 'localhost';
$dbuser = 'tezzana_cams';
$dbpass = '**********';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');
echo ("Connected...");
$dbname = 'tezzana_camera';
mysql_select_db($dbname);
echo ("Selected...");
mysql_query("INSERT INTO `camera` (`id`, `name`, `type`, `link`) VALUES (' ', 'noob cam 2', 'webcam', 'www.alinktothecam.com');");
echo ("Added...");
mysql_close();
echo ("Closed.");
?>