imstillatwork
IS-IT--Management
What Do i need to do to get this to work properly?
table Type is MYisam.
If i hit refresh a few times the insert will go, AND I also get the identity....
THANKS
table Type is MYisam.
If i hit refresh a few times the insert will go, AND I also get the identity....
Code:
<cftransaction action="begin">
<cfquery....>
INSERT INTO....
</cfquery>
<cfquery....>
SELECT @@identity AS ID
</cfquery>
<cftransaction action="commit"></cftransaction>
</cftransaction>
THANKS