Doesn't that take a lot of memory if it is a lot of rows ?...
Then I have to ask another thing.
I thougt the usage of sql querys would be simular to mySQl, but I get a syntax error on following query, which work just fine with mySql..
$conn = odbc_connect($server, $username, $password);
$query = "INSERT INTO mess (receiver,sender,topic,message,date) VALUES('$receiver','$username','$topic','$message','$date')";
odbc_do($conn, $query);
odbc_close_all();
The table has following fields
id, receiver, sender, topic, message, date, status, noreply.
And this is the errormessage I get;
Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement., SQL state 37000 in SQLExecDirect in c:\inetpub\wwwroot\cup\newMessage.php on line 51
/Staffan