I have a connection using mysql in php and you want to turn this into a pdo request, how to do it?
Also, how do I get the results of this query and display it.
Code below:
$query = "SELECT * FROM pages LEFT JOIN templates ON pages.template_id = templates.template_id WHERE pages.page_Title = '".$getVars['page']."'";
I'm new to PDO, so this may sound like a very simple question.
Thanks at Advance
source
share