Quote:
Originally Posted by pRED* | NZ
I havn't read all the code but.. On bf2 mod I..
Client connect - attempt to load data (like u've already got). If the query succeeds but has no data (no current entry for that user) then do an insert of all 0's (or '' if it's a string).
Then when you try save always use an update query because everyone will have an entry in the table
|
Thank you for your answer

I don't know how to check if the Query retrieve Data...0o
But i think i got it working with teame06's solution.
Quote:
Originally Posted by teame06
|
That's pretty nice with "ON DUPLICATE KEY UPDATE" wonder since when this is included to mysql..anyway now it seems to work *smile*
Thank you all for your interest in my problem!
greetz regalis
__________________