php - Searching for an entry in a MYSQL table -


I have a MYSQL table called to the members with 2 columns:

  Name John Sam allows me to create a PHP query which allows me to select the users who like a specific college (such as "$ college).  

I have written this code But this is not working (I'm new to PHP, this is the first line of code I'm writing). Can I help with correcting it? college = 'yale'; $ result = "Select members where $ college IN 'colleges_i_like'"; < Try a little longer:

  $ college = 'Yale'    


Comments

Popular posts from this blog

c++ - C/pp Sockets, recv()/send() works only under gdb -

GO: Serve static pages -

objective c - How to open front/back camera at the same time in iOS developing? -