do waht you have but just make things to a varialbe. if you are getting those from a form then it would look like this. I wouldn't put the image in the DB as that will make it big fast, jut put the path in it or the name
PHP Code:<?php
$connection = mysql_connect ("localhost","stickman373","******");
mysql_select_db("stickman373_uk_db");
$result = mysql_query("INSERT INTO dvd (Title,Review,Image,Other) VALUES ('".$_REQUEST['Title']."','".$_REQUEST['Review']."','".$_REQUEST['image_name']."','"$_REQUEST['other']."' )
");
if(!result)
{
echo "INSERT unsuccessful: ", mysql_error();
exit;
}
else
{
print ("Thanks for submitting details.");
}
?>




Reply With Quote