mysql - how do I find a value from a database using more than one criteria? -
i want retrieve data single field based on information in 3 other fields. example if had table following fields: width, length, height, weight, , color. want value field color width = $value , length = $value2 , height = $value.
the sql wrote in question!
select color yourtable width = $value , length = $value2 , height = $value php:
$result = $mysqli->query("select color yourtable width = $value , length = $value2 , height = $value");
Comments
Post a Comment