Thanks alot for your input!
So I made the changes. Now I am stuck on a couple other issues. Firstly, mysql_affected_rows returns a value of -1, meaning that the query failed. Also, I am trying to print the contents of my table, and I have no idea on how to do this.
Current code:
<html>
<head>
<h1> YOUR SHOPPING CART </h1>
<h2> Products Summary </h2>
<body>
<?php
$dbc = mysql_connect('localhost', 'user', 'password');
$db_selected = mysql_select_db('bosketda', $dbc) or die("Unable to select database");
$sku = mysql_real_escape_string($_REQUEST["sku"],$dbc);
$name = mysql_real_escape_string($_REQUEST["name"], $dbc);
$summary = mysql_real_escape_string($_REQUEST["summary"], $dbc);
$description = mysql_real_escape_string($_REQUEST["description"], $dbc);
$price = mysql_real_escape_string($_REQUEST["price"], $dbc);
$insert = "INSERT INTO products (sku,name,short_description,description,price) VALUES ('$sku','$name','$summary','$description',$price)";
$result1 = mysql_query($insert,$dbc);
if (!result1)
die('Error: ' . mysql_error());
else
echo "1 record added"."<br>";
//returns a -1, meaning that my last query failed//
echo mysql_affected_rows()."<br>";
$select = "SELECT*FROM products";
$result2 = mysql_query($select,$dbc);
//printf("Name: %s Summary: %s Description %s Price %s", $row['name'], $row['summary'], $row['description'], $row[4]);//
print "<a href = product.html> Create new products </a>"."<br>";
print "<a href = view_product.php?sku=$sku> View Product </a>"."<br>";
?>
</body>
</html>
MOD EDIT: Possibly valid user credentials obfuscated; make sure you aren't posting valid login credentials in source code.