I know what you are saying. I can't do local host. the SQL is requesting * from PDO. and I need to loop through the result set. if
$q = $conn->query("SELECT * FROM PDO");
$stmt = $conn->prepare($q);
$stmt->execute();
is only for returning a single row then what should I be using to return a set of records. Help required on returning a set of rows is needed.
P.S. didn't realise I had used the wrong bracket.