PHP- select specific row from MySQL database -


i need select specific row mysqli database based off of value in it.

for example have table column named "house", , under column there maybe 5 rows title "house1" , 3 rows title "house2". want select rows have "house1" in them.

this code

$query = "select * hockey house = house1 order attendance desc"; 

i want make table values row if house jacksons

right if delete part query make table have rows both houses (jacksons , martlands)

thanks!

$query = "select * hockey house = 'house1' order attendance desc"; 

Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -