Do you want to handle and render multiple components in React? If yes then this post is only for you. Yeah, I am talking about navigating from component to component. While navigating to components the page doesn’t refresh in React. Also, it needs to change the route dynamically. If you render the child components in […]
How to Implement jQuery Datatable in CodeIgniter 4
jQuery provides the datatable library to use in an HTML table. The jQuery datatable provides you the flexibility of pagination, searching, and ordering the data in the table. Even you can apply custom filters to the data. It also allows us to use column filters inside the table. You can implement it on any server-side […]
Generate Fake Data in CodeIgniter 4 Using Seeder and Faker
If you are working in a development environment, you always need to test your functionality. So for testing, you generally use the test data. You cannot perform the test on real data. Actually, the data may get updated and deleted according to the test cases. So, you can’t use the real data for the testing. […]
CRUD Application in PHP 8 Using Prepared Statement
Security is a measured challenge while creating an application in PHP. The raw SQL query in PHP can be injected through a malicious function. This may affect your entire functionality. Even you can lose your database or particular table and even any record. Due to the SQL injection, the vulnerable code or script can be […]
What is SQL Injection and How to Prevent it in PHP
Do you think your SQL database is secure from instant destruction? Yes, instant destruction because I am talking about SQL injection. It is a combination of two words that is: SQL + injection. Here, the injection doesn’t mean the medical terminology. You always have to take care of the SQL injection In PHP while writing […]
Create REST API in Laravel 8 Using JWT Authentication
You already know about the data security of JSON. The RESTful API uses JSON data. While sending JSON data through the API, you have to take care of its access. You have to restrict unauthenticated access. You cannot reveal the data passing in the form of JSON to everyone. Hence, it is required to use […]
How to Remove index.php From URL in CodeIgniter 4
Usually, in the CodeIgniter 4 project, you will see there is an additional argument in the URL. That is index.php in your project URL. So, if you don’t want this extra parameter then you can remove it. This will make a clean URL of your website. There are several ways to remove this index.php in […]
Upload Multiple Image with Validation in Codeigniter 4
By creating an array of images, you can upload multiple image in Codeigniter 4. The HTML element of file type has an attribute to accept multiple files. The input element of file type requires the name attribute to be an array. We already know about an array in PHP. It can store multiple items in […]
How to Upload Image and File in Codeigniter 4 with Validation
When you want to upload image in Codeigniter 4, you have to take care of the validation. Without proper validation, file upload is not secure for SQL injection. Someone might do the SQL injection with the file upload. Hence, it is very important to prevent code injection through the file upload. In Codeigniter, you can […]
Form Validation Example in Codeigniter 4 For Beginners
Codeigniter provides the form helper to validate the form. You can easily validate the inputs like name, email, password, and many more fields. In the entire form validation process, the form will submit to the specified action. While submitting the form to the action, it will check the form inputs as per the specified rules. […]
- « Previous Page
- 1
- …
- 10
- 11
- 12
- 13
- 14
- …
- 21
- Next Page »