Doesnt insert id
#10

Yup, Because it doesn't generate a cache unless it's in a callback

It's a relatively cheap cost for a smooth threaded mysql query that won't lag the s... out of your server xD

Here let me give you the code, use this query and add that callback and you are good to go
PHP код:
mysql_tquery(mysqlquery"OnHouseCreate","i",hid);
forward OnHouseCreate(houseid);
public 
OnHouseCreate(houseid)
{
    
HouseInfo[houseid][hID] = cache_insert_id();

Reply


Messages In This Thread
Doesnt insert id - by vassilis - 19.11.2015, 14:17
Re: Doesnt insert id - by gurmani11 - 19.11.2015, 16:42
Re: Doesnt insert id - by vassilis - 19.11.2015, 17:42
Re: Doesnt insert id - by vassilis - 19.11.2015, 21:03
Re: Doesnt insert id - by iGetty - 19.11.2015, 21:08
Re: Doesnt insert id - by vassilis - 19.11.2015, 21:21
Re: Doesnt insert id - by vassilis - 23.11.2015, 16:22
Re: Doesnt insert id - by PrO.GameR - 23.11.2015, 17:28
Re: Doesnt insert id - by vassilis - 23.11.2015, 19:03
Re: Doesnt insert id - by PrO.GameR - 23.11.2015, 19:09

Forum Jump:


Users browsing this thread: 1 Guest(s)