I am wanting to pull a limited number of records from a database
Does Not Work:
$query = "SELECT RecordingTitle FROM Recordings LIMIT 5,15";
$res = odbc_exec($cs, $query) or die("Query Failed");
If I leave of the LIMIT 5,15, I get all the records in my database. But If I try to LIMIT using the above query statement, I get an error: Syntax error in FROM clause...on line 39 (the odbc_exec() line)
Works:
$query = "SELECT RecordingTitle FROM Recordings";
$res = odbc_exec($cs, $query) or die("Query Failed");
Anybody know of an ODBC limit (no pun intended) in the query statements?