Okay, so I'm trying to send new rows of data to my table on MySQL. I'm pretty sure I have the syntax right but when I go to execute it, it gives me the "or die" message.
Can someone correct this bit of code if it's wrong please?
[php]
/* send the data to table */
$query = "INSERT INTO EWT (Bldg,Room,ST,CageCD,PartNum,SerialNum,VndID,CompI d,Model,ROS,Description,Scanned,Section)
VALUES ('$bldg','$room','$st','$cagecd','$partnum','$seri alnum','$vndid','$compid','$model','$ros','$desc', '$room','$scanned','$section')";
$result = mysql_query($query)
or die ("Couldn't execute query.");
[/php]