On-page errors, warnings, and notices are default in PHP for convenient debugging. However, while deploying on production, it is not a good practice to show on-page errors. On-page errors may provide loopholes of our website to hackers. Even more, it can break our website’s front end design. Here we are going to learn how to […]
Latest Articles
How to Set Selected Value of Dropdown in JavaScript
In this article, we are going to learn how to set selected value of dropdown in JavaScript for dynamic dropdown selection on HTML webpage. Set Selected Value of Dropdown in JavaScript Generally, while using various APIs and in some complex forms, we need to dynamically set ‘Selected’ value of dropdown list using JavaScript. The given […]
How to Add New Table Fields in Laravel
In laravel has models control data tables and migrations to create and manage models. As we use migrations to create tables, we have to use migrations to update or add new fields in a data table. Add New Table Fields in Laravel Here we will add new columns in a table by following three easy […]
How to Add Unlimited Fields in Form Using JavaScript and Store Into Database With PHP
Sometimes we need to add unlimited fields into our form for a better user experience. At that time, we can put an ADD FIELD button into the page for dynamic field generation on a webpage. Creating unlimited fields in the form is effortless using JavaScript and jQuery. Also, saving the data into a database is […]
How to Force Image Download in PHP From a Link
Force image download is mandatory in some content downloading websites to provide a good and smooth user experience. Even more, we have to allow direct download of an image from a link. If we provide an image link to the user for downloading, the browser will open that image in its self rather than downloading […]
