Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.