| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Quality // Join Date: Sep 2008
Posts: 911
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | PHP Lock Application?? Hi, Is there a way to lock the application similar to Application.Lock in ASP.NET? The reason is that I have an insert query that takes place in one of my PHP pages, and I want to get the auto ID from that record once the insert query takes place. Or maybe there is a way to do that in one query? something like sending the ID back to the query once the record is inserted? Thanks |
| | |
| | THREAD STARTER #3 (permalink) | ||||
| Quality // Join Date: Sep 2008
Posts: 911
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| | |
| | #4 (permalink) |
| Domains my Dominion Join Date: Aug 2005 Location: Web 1.0
Posts: 9,963
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | If you have mySQL 5 you could also use stored procedures, transactions, the works
__________________ NameNewsletter.com - free lists of available domain names ZoneFiles.net (beta) - ccTLD and gTLD droplists |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |