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

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -