Hi guys,
Here is a small part of my code...
$category = $_POST['category'];
$name = $_POST['name'];
$latin_name = $_POST['latin_name'];
$location = $_POST['location'];
$camera_model = $_POST['camera_model'];
$lens_model = $_POST['lens_model'];
$focal_length = $_POST['focal_length'];
$fnumber = $_POST['fnumber'];
$exposure_time = $_POST['exposure_time'];
$iso_speed = $_POST['iso_speed'];
$date_taken = $_POST['date_taken'];
$comment = $_POST['comment'];
$query = "INSERT INTO photos (category,name,name_latin,location,camera_model,lens_model,focal_length,f-number,exposure_time,iso_speed,date_taken,comment) VALUES($category,$name,$latin_name,$location,$camera_model,$lens_model,$focal_length,$fnumber,$exposure_time,$iso_speed,$date_taken,$comment)";
mysql_query($query);
It gives me no errors but no data is put into the 'photos' table. Any ideas?
Thanks