Posts: 148
Threads: 29
Joined: Sep 2012
Reputation:
0
Change 'mysql_query(sqldb, query);' to 'mysql_query(query);'
Posts: 96
Threads: 25
Joined: Jan 2013
Reputation:
0
I'm using BlueG's R37 MySQL and if I change it then Compiler will show error
Posts: 2,528
Threads: 124
Joined: Jul 2009
Reputation:
0
Where to start. First - using unthreaded queries will lag your server. Heavily. It looks like you are just starting development, search for tutorial (or read about ORM, it's even easier).
I am pretty sure your log should show something like "No cache active". Because you don't have any active cache. Also, your account system is weird. You are creating account on disconnect? Ok, but what if that player already has an account? You don't have to pass id to insert query, you retrieve it after execution.
Posts: 96
Threads: 25
Joined: Jan 2013
Reputation:
0
Misiur I am learning MySQL now(started 12 hours a go) and I'm not creating account I'm just testing my database but it doesn't work and can you explain me that cache I need to use when saving something how to set cache(activate it)?
EDIT: i asked this about cache because you we're right my log says "cache_insert_id() - no active cache"