Jump to content

SELECT QUERY ERROR? FROM POST


cassy01

Recommended Posts

hi,

 

$query = "SELECT * FROM products WHERE itemType=\"handbags\" AND itemUsed=\"True\" AND itemSub=\"$_POST['itemSub']\" ORDER BY amount desc";

 

i am getting the error

 

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING

 

please help

Link to comment
https://forums.phpfreaks.com/topic/94165-select-query-error-from-post/
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.