Hiya,
I'm conecting to the database,
I'm inserting information successfully,
I'm "trying" to grab the last id ( serial, primary key ) given to the row I just inserted,
I'm running code below,
I'm inserting information into another table successfully,
RequiredId value should be 20, returns as 0
Anyone got any idea's? thanks a million. appreciate it.
SELECT @@Identity as $requiredID