Jump to content

[SOLVED] Basic enough PHP,MySQL error


apoch632

Recommended Posts

I jsut cannot see what is wrong with this code today. It keeps giving me a syntax error. Its probably something simple but I just cannot see what it is

 

$yearfounded = $_POST['yearfounded'];
$refurbished = $_POST['refurbished'];
$year_refurbished = $_POST['year_refurbished'];
$condition = $_POST['condition'];
$condition_details = $_POST['condition_details'];


$query = "INSERT INTO sectionfive (yearfounded, year_refurbished, condition, condition_details, refurbished  )
VALUES('$yearfounded','$year_refurbished','$condition','$condition_details','$refurbished') " ;

Link to comment
https://forums.phpfreaks.com/topic/125771-solved-basic-enough-phpmysql-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.