What is PHP PHP is Open Source server-side programming / Scripting language that is especially suited for web development and can be embedded into HTML. PHP stands for Hypertext Preprocessor Read More
Author: dharmendra
How to return multiple blade file using single function inside same controller and same route
now on main public route I am raturning a method. web.php Route::get(‘/trips’, ‘CategoryController@index’)->name(‘trips’); CategoryController.php
How to other table data to store another table data
This is packages table This is addimages table First let’s go to your Controller file and our function
How get data in Dropdown of multiple role id in Laravel
First let’s go to your Laravel project And add your Blade file And go to your Laravel project And add your Controller file This is Database structure
How take in first and last element of array in Laravel
First let’s go to your Laravel project And add your Controller file This is first Arr $middile= Arr::first($my_cat); This is last Arr $last_cat=Arr::last( $my_cat); This is Refresh URL => https://stackoverflow.com/questions/20052769/get-first-and-last-element-in-array/20052835
How to concatenate string in JavaScript
First let’s go to your Laravel project And add your blade file JavaScript And go to your Laravel project And Inspect and check you console log
How to concatenate string in Laravel controller
First let’s go to your Laravel project And add your Controller function and Store function And go to your Laravel project And test your Controller function log::info print
How to create auto increment id existing table and store in other table in Laravel
First let’s go to your Laravel project And add your Controller function and Store function $Trip->tour_id = $tour_id;
How to remove html tag in API data using Laravel
First let’s go to your Laravel project Your Controller Function and this code add Now is your Result html tag remove Refresh for this link => https://stackoverflow.com/questions/36247382/remove-html-tags-from-strings-on-laravel-blade/36247458