NameSilo

PHP Lock Application??

SpaceshipSpaceship
Watch

Ik

Quality //VIP Member
Impact
8
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
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
0
•••
0
•••
If you have mySQL 5 you could also use stored procedures, transactions, the works :)
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy — Live Options
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back