Mailinglisten-Archive |
> Ich habe das jetzt ausprobiert:
> $db->query("LOCK TABLES chatmessages_$chatroom WRITE,
> chatusers WRITE");
> $db->query("UPDATE chatusers SET lastaction='$time',
> totaltime='$tot' WHERE nick = '$chatuser'");
> $db->query("INSERT INTO chatmessages_$chatroom VALUES
> ('','$msg','$chatuser','$date')");
> $db->query("UNLOCK TABLES");
LOCK TABLES chatmessages_$chatroom,chatusers WRITE
probiers mal so!
---
*** Weitere Infos zur Mailingliste und MySQL unter www.4t2.com/mysql
php::bar PHP Wiki - Listenarchive