I’m a beginner and havent done much coding in a while; I built the below but I keep getting the die message. I am connecting to the db just fine and I’ve verified my variables are being passed from the form. thoughts???
$query = “INSERT INTO nomad (period, type, fn, ln, street, street2, city, state, zip, country, phone, email, byear, student, idme, ftrip, other, airfare, essay) VALUES (’$period’, ‘$type’, ‘$fn’, ‘$ln’, ‘$street’, ‘$street2’, ‘$city’, ‘$state’, ‘$zip’, ‘$country’, ‘$phone’, ‘$email’, ‘$byear’, ‘$student’, ‘$idme’, ‘$ftrip’, ‘$other’, ‘$airfare’, ‘$essay’)”;
$result = mysql_query($query) or die (“Couldn’t insert into nomad with application info”);