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

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -