Jump to content

query question.


purencool

Recommended Posts

hi phpfreaks,

 

I have created a query and I have just work out that is wrong the issue is I don't know what the syntax is to get it right. I have selected columns that need to be returned  from the table. This is all correct, where I go wrong  is I have a variable that I want the sql to search the whole table and return the result. Any help would be greatly appreciated.

SELECT Business_Name,First_Name,Last_Name,Username,Email,Phone,Mobile,Social_Media,Web_Site,User_Language,Admin_Level FROM customer WHERE $variable

Link to comment
https://forums.phpfreaks.com/topic/237950-query-question/
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.