Posted by Ewoud Dronkert on 10/22/05 16:09
Schraalhans Keukenmeester wrote:
> $query = 'select count(*) from messagesdb;';
> $result = mysql_query ($query, $conn);
> $msgid = mysql_result ($result, 'count(*)') + 1;
>
> I know I could avoid the entire issue
> by autonumbering the messages
YES! (Btw, does the ; in the query not pose trouble?)
> but still there is something funny going on.
Concurrent updates perhaps.
--
E. Dronkert
[Back to original message]
|