okay 🙂 my index.php is made so you can edit,add and delete in table "beer". i made a "$orderby" to sort the table.
now i made a selecttable.php which selects a table (i have 2 tables in one db)
.
both of them use this:
$query = "SELECT * FROM ... "
- $query = "SELECT * FROM $orderBy";
and
- $query = "SELECT * FROM $table order by title";
what i would like to do is to merge these 2 into one select statement.
can i merge 2 GET into one $query?