The Code You Will Love
Controller in Laravel
Posted on: Wednesday March 29, 2023
Create controller file ‘app/Http/Controllers/ProductController.php‘ and paste the given code below [crayon-6767f335cc100493162059/] public function index() and public function detail($id) [...]
Read MoreRoute in Laravel
Posted on: Wednesday March 29, 2023
In the Laravel route there are 2 ways: Direct load view file from the route, No need to go to controller. Go to the Controller and perform the operation then load the view file. [...]
Read MoreRemove public from url in Laravel
Posted on: Saturday March 25, 2023
STEP 1 : Check root folder for server.php, if there is no any server.php just create one with given code below: [crayon-6767f335cc810566528238/] STEP 2: If you want to remove public [...]
Read MoreStart with Laravel
Posted on: Saturday March 25, 2023
Introduction and requirements for laravel. For starting the project on laravel we need 3 things to be installed in our system. Composer Use E:\xampp8\php\php.exeforcomposer PHP path. Node and NPM. if [...]
Read MoreMulti time store data in PHP session
Posted on: Wednesday March 22, 2023
Store multiple data in a session, you can store multiple times data in a PHP session without destroying previous session data. Please find PHP method below: [crayon-6767f335ccc19719627183/] [...]
Read MorecURL with Parameter in PHP
Posted on: Tuesday March 21, 2023
[crayon-6767f335cce2f435259920/] [...]
Read MoreCustom Form Submit with file upload in WordPress
Posted on: Saturday March 4, 2023
Craete custom form in your theme template/file and submit it, insert data in database and move uploaded file. View/Template (HTML) [crayon-6767f335cd07c446882018/] function.php [...]
Read MoreAjax in WordPress
Posted on: Saturday March 4, 2023
Use Ajax in WordPress custom template or theme. View/Template (HTML & jQuery) [crayon-6767f335cd2be438127926/] admin-ajax.php is fix file from wordpress, all ajax request will go to [...]
Read MoreCart Library in CodeIgniter 4
Posted on: Saturday February 25, 2023
CodeIgniter 4 officially not supporting Cart Library like CI3. but we will use the same cart in CI4. Let’s get Started. STEP 1 Create a file ‘Cart.php’ in [...]
Read MoreCRUD Query in CodeIgniter 4
Posted on: Saturday February 11, 2023
You can find Database Query for CRUD operation in CodeIgniter 4 below. SELECT query in CodeIgniter 4 INSERT query in CodeIgniter 4 UPDATE query in CodeIgniter 4 DELETE query in CodeIgniter 4 [...]
Read More