Category: PHP

Pessimistic Locking in Laravel 5

Shared lock is, when more than one transaction is granted read access to a given record. One transaction gets shared lock on a record. lockForUpdate You can use it, when reading to prevent the rows from being modified or from being selected with another shared lock. Or you can lock some row(s) until your transaction […]

How to Currency Converter using PHP and Google API

Google is providing free of cost Currency Converter API to convert one currency into another currency type. Google Currency Converter API can implement any programming language. I am using PHP to create a currency converter application to convert real-time currency value from one currency type to another currency type. HTML Code PHP Code