Hi I have a phpcode that fetches data from database ,
I want to lock a row when a user reads that row and want to release it when he exits.
Can any one help me plz
rahulroshan
0
Light Poster
Recommended Answers
Jump to PostIt depends on the database you are using whether or not this is possible.
Jump to PostAnd it also depends on the table type (engine) within a database. In mySql it is possible to do it if table type is InnoDb, but not if the type is MyIsam.
All 5 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
psdtohtmlfive
0
Newbie Poster
broj1
356
Humble servant
Featured Poster
rahulroshan
0
Light Poster
broj1
356
Humble servant
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.