I have one page whose last word is a field in my MySQL table.
Its like that:
www.xyz.com/etc/demo
www.xyz.com/etc/dddred
www.xyz.com/etc/dffgfffre
The word demo has a record in MySQL, so do the other words. So for each example a different record will be chosen. I want to pass this word into a SQL query. I have created one page www.xyz.com/etc/abc.php that executes the query, but I dont know how to get and put the value of city into the WHERE clause.
$res = myl_query("SELECT * FROM tableA WHERE city=''");
use can use this
than use
mysql_*functions are deprecated so usePDOormysqli