SQLState: 4 Native Error Code: 1064 [TCX][MyODBC]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '1 * From tilmelding Where fby='ja'' at line 1
strSQL = "Select TOP 1 * From tilmelding Where fby='ja'"
fordi det er access-syntaks jeg har givet og ikke mysql. Jeg kan ikke helt huske om LIMIT kommer før eller efter ORDER BY - men du kan evt prøve at bytte om på det;
strSQL = "Select * From tilmelding Where telefon = '" & Request.Querystring("id") & "' and fby='ja' LIMIT 0, 2 ORDER BY id desc"
ADODB.Recordset.1 (0x80004005) SQLState: 4 Native Error Code: 1064 [TCX][MyODBC]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY id desc' at line 1 /default.asp, line 78
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.