My table name is ‘new’ and it has 3 rows, id name and title, and i also have a variable ‘hi’. What is the mysql query for, if variable $hi(introduce) == value(introduce) in the ‘title’ row from ‘new’ table. then echo introduce.
$hi ="introduce";
---------------------
id | name | title |
---------------------
1 | hi | introduce
2 | hello| tell me
1 Answer