mysql php select * from table and then pass to html byjson code example
Example: php variable inside mysql query
String : echo "Hello {$var}";
Sql : $query = "SELECT * FROM `table` ORDER BY `$orderby`";
String : echo "Hello {$var}";
Sql : $query = "SELECT * FROM `table` ORDER BY `$orderby`";