Answer the question
In order to leave comments, you need to log in
Stored query and ODBC?
There is a saved query in the MS Access database, the input of which is given two parameters: id1 and id2 (when a query is launched in the DBMS, this data is requested, because =[id1] and =[id2]).
How to do the same but from PHP?
The base connects through the ODBC driver.
From PHP I connect it through PDO.
I do it like this:
$sql = "SELECT * FROM qr1";
$sth = $db->prepare($sql);
$sth->execute(array(12,12));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question