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
Post a Comment