Jess, thank you for your reply. The output is the default values declared in the bottom half of the code. Obviously I am expecting it to produce and output based on the page name that has been selected. For example:
I select the home page and the title, keywords and description are pulled from the DB and populated using variables.
This is really just the begining as I ultimately want to start populating repetitive text values across the site too in the future.
I am extremely new to PDO and prepare statements as for some unknown reason I have been doing things the old way for a long time.
When you mention bindValue() between 13-14, would this following example be the correct usage:
$stmt->bindValue($page, PDO::PARAM_STR);
I have tried it like that and still the code is not retrieving the data. Are there any debug steps I could take to try and understand the function better?
Thank you for your patience with me so far
Chris