refiking Posted June 10, 2009 Share Posted June 10, 2009 I can't find it. Pretty sure it's suresimple, though: mysql_query("insert into `demo_users` (`name`, `company`, `address`, `city`, `state`, `zip`, `phone`, `email`) values ('$name', '$company', '$address', '$city', '$state', '$zip', '$phone', '$email'")or die(mysql_error()); Quote Link to comment Share on other sites More sharing options...
Reaper0167 Posted June 10, 2009 Share Posted June 10, 2009 <?php $sql = "INSERT INTO demo_users(name, company, address, city, state, zip, phone, email)VALUES('$name', '$company', '$address', '$city', '$state', '$zip', '$phone', '$email')"; ?> Quote Link to comment Share on other sites More sharing options...
J.Daniels Posted June 10, 2009 Share Posted June 10, 2009 You are missing a closing parenthesis mysql_query("insert into `demo_users` (`name`, `company`, `address`, `city`, `state`, `zip`, `phone`, `email`) values ('$name', '$company', '$address', '$city', '$state', '$zip', '$phone', '$email')") or die(mysql_error()); Quote Link to comment Share on other sites More sharing options...
Reaper0167 Posted June 10, 2009 Share Posted June 10, 2009 sorry,, didn't understand what you wanted. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.