Jump to content

Mysql Problem


bcode

Recommended Posts

It is giving me an Error in your SQL syntax near 'float,rentprice) Values ('

but I can't see where the problem is

 

 

$sql = "INSERT INTO Listings "; 
			$sql .= "(propName, price, description, type, city, state, image1, authorized,country, address, zipcode, featured, ownerID,ownerEmail,bedrooms,bathrooms,resortName,deed,cc4digit,ccexp,unitNum,float,rentprice)";
			$sql .= " VALUES ('$propName','$price','$description','$type','$city','$state','$imagepath','no','$country','$address','$zipcode','$featured','$ownerid','$email','$bed','$bath','$resortname','$deed','$CC4','$CCX','$unit','$float','$rentalprice')";

Link to comment
https://forums.phpfreaks.com/topic/182170-mysql-problem/
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.