I want to run 2 queries in one statement in a PHP page. First query converts the datetime to greek, especially the day.
$query
displays the table in my page.
They work as 2 queries in my joomla plesk, mysql database with a delimiter. But not in PHP.
Query I want to implement, before the main query:
SET lc_time_names = 'el_GR'
$query = "SELECT start,DATE_FORMAT(registerdate,'%W %d %M %Y') AS registerdate FROM table1;"
$query2 = "SET lc_time_names = 'el_GR'"
I want it to run set lc time first, and then the query to display register date column. Can I do that in a single query, or 2 queries?
Regards.