The scroll bar is part of the webpack engine and differs from browser to browser. To Give your site a uniform field on all the client ends CSS can be used. Below there are three types of scrollbar which made…
Author: Bhaskar Chaudhary
Laravel Quick DB query building:
How can we increase and decrease in Laravel? Laravel gives us the function to do this fast and effectively. Please follow the below instructions to do this. Increase Value of a numeric column Decrease Value of a numeric column
Difference between visibility hidden and display none?
Both do the job of hiding a portion of web page differently and are not interchangeable. Please check the below example to clear the difference between visibility hidden and display none. Like visibility: hidden; this will hide the entity but space…
Find users within a distance by using Latitude, Longitude, and MySQL
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…
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…