...

View Full Version : Is there something wrong with this query



Vernk
02-20-2012, 07:26 AM
mysql_query("INSERT INTO data (username, rank, price) VALUES ($custom_field, $item_name, $payment_amount)");

cercos
02-20-2012, 08:25 AM
Possibly missing quotes on values try:

mysql_query("INSERT INTO data (username, rank, price) VALUES ('$custom_field', '$item_name', '$payment_amount')");



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum