MySQL Forums
Forum List  »  PHP

Re: Returning an OUT parameter to the page with PHP!?!?!?
Posted by: Georg Richter
Date: January 24, 2006 08:11AM

Hi,

first of all you should consider to use mysqli extension instead of mysql. The old mysql extension doesn't support all new features of MySQL 4.1 and 5.0.

Why don't use a simple SELECT LAST_INSERT_ID() to determine the last inserted id? Otherwise you have to retrieve the value with SELECT @idOut;

Options: ReplyQuote


Subject
Written By
Posted
Re: Returning an OUT parameter to the page with PHP!?!?!?
January 24, 2006 08:11AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.