For filter records, you need to latitude and longitude column in the table which you are using. For fetching data as per the lat-long you can use below query by passing latitude and longitude values in the comments. In this…
How to get IP Address of User in PHP?
Php uses Global Variables (Superglobals) called $_SERVER to get the Header, Path, and Script Location. REMOTE_ADDR has the Ip address of the user on the current page.
What References Do in PHP (&)?
Makes Two variables refer to the same content. Hence, If you change one Other will too.
How to post an array of undefined length in HTML form element?
To post an array of undefined length in HTML form element. We need different input element of form with a similar name. These elements will have square brackets in the end. Square brackets make them an array when the form…
Simple 5-star rating with CSS: hover.
Radio button is being used to select star ratings CSS is used to make them appear as Star. 5 stars 4 stars 3 stars 2 stars 1 star Insert The Input fields below to the form:- CSS HTML And,…
How To Bypass csrf Token For A Route In Laravel?
Laravel Csrf token is security tokens but sometimes we don’t need them in our request URLs. We Need to edit Only One file for this called VerifyCsrfToken.php. Path:- /app/Http/Middleware/VerifyCsrfToken.php Add Below Code In The Class:- Note:- Remember To match url…
PLACES API ACCESS NOT CONFIGURED
Enable the google places API for Android in developer console. https://console.developers.google.com/apis/library
How To Select Different Column of data as one with Laravel and MySql?
Laravel uses query builder to perform database operations so you don’t need to rewrite the query for different database Platform. Let us assume a table with three column called cert1, cer2 and cert3 First we need to select the column…
Failed to resolve: com.google.android.gms:play-services-places:16.0.0
Just place google() before jcenter() In project build.gradle file or just copy and paste below build.gradle code in your project build.gradle file. And build project again see the problem is resolved. see build.grdle file If it says google() not found (not…
How To Add toast.js?
As Nice, as it looks for notification easier it gets if you are familiar with JavaScript and have some experience in HTML. Firstly, we need to add the ‘.js’ and ‘.css’ file which are available on github link Second, you…