30.07.2016, 16:41
A bit confused. So what I'm trying to achieve is.
I have a /createfaction -> Which stores 'factionname' and 'factionid' under my faction table. Using INSERT INTO.
Simliarly, I also have 'factionname' and 'factionid' under my accounts table in where I'm trying to link a individual who created that faction on it.
So upon /createfaction -> I use INSERT INTO and put faction name as the inputtext in my dialog.
Similarly I want to be able to use 'UPDATE' or any mysql function and add the same inputtext under my `accounts` table at `factionname` and assign it a `factionid` similary I did under `faction` table. The way I'm assinging faction id is using cache_insert_id as I'm using Auto Increment.
So I thought using callbackfunction would let me do it.
But it isn't working.
I have a /createfaction -> Which stores 'factionname' and 'factionid' under my faction table. Using INSERT INTO.
Simliarly, I also have 'factionname' and 'factionid' under my accounts table in where I'm trying to link a individual who created that faction on it.
So upon /createfaction -> I use INSERT INTO and put faction name as the inputtext in my dialog.
Similarly I want to be able to use 'UPDATE' or any mysql function and add the same inputtext under my `accounts` table at `factionname` and assign it a `factionid` similary I did under `faction` table. The way I'm assinging faction id is using cache_insert_id as I'm using Auto Increment.
So I thought using callbackfunction would let me do it.
But it isn't working.