icelander

icelander

Member Since 11 Months Ago

Experience Points 1,470
Experience Level 1

3,530 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed 0
Lessons
Completed
Best Reply Awards 0
Best Reply
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • Chatty Cathy Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

10 Feb
4 months ago

icelander left a reply on Things To Learn

It's a web app

icelander left a reply on Things To Learn

I want to build something similar to Uber. Asides laravel, what else should I know.

09 Feb
4 months ago

icelander left a reply on Things To Learn

Can I use laravel only to build a taxi app

icelander started a new conversation Things To Learn

Hi. I want to build a taxi app back end with laravel, what are the things I need to learn for this project asides from laravel.

02 Nov
7 months ago

icelander started a new conversation Error Downloading A New Laravel App

Hi. Each time I try downloading a new laravel in my computer with the command composer create-project --prefer-dist laravel/laravel blog, I get an error saying: the http://repo.packagist.org/p/provider -2017.....json file could not be downloaded: php_network_getaddresses:getaddrinfo failed. Please help

25 Sep
9 months ago

icelander left a reply on I Usually Get This Error: Illegal String Offset 'Firstname' (View: C:\xampp\htdocs\cars\resources\views\pages\home.blade.php)

i got a new error message after implementing it as you suggested: Trying to get property of non-object (View: C:\xampp\htdocs\cars\resources\views\pages\home.blade.php)

icelander started a new conversation I Usually Get This Error: Illegal String Offset 'Firstname' (View: C:\xampp\htdocs\cars\resources\views\pages\home.blade.php)

hi. below is my controller

<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use Kreait\Firebase\Factory;
use Kreait\Firebase\ServiceAccount;


class FirebaseController extends Controller
{
  public function index(){

$serviceAccount = ServiceAccount::fromJsonFile(__DIR__.'/FirebaseKey.json');
$firebase = (new Factory)
    ->withServiceAccount($serviceAccount)
    ->create();

    $database = $firebase->getDatabase();

    $ref=$database->getReference("users");
    $users=$ref->getValue();

    foreach($users as $user){
        $all_user[] =$user;
    }

    return view('pages.home',compact('all_user'));

  }
}

this is my view

<table id="example1" class="table table-bordered table-striped">
        <thead>
        <tr>
         <th>S/No</th>
          <th>First Name</th>
          <th>Last Name</th>
          <th>Phone Number</th>
          <th>Email</th>
          
        </tr>
        </thead>
        <tbody>
            @foreach($all_user as $user)
        <tr>
          <td>Trident</td>
          <td> {{$user["Firstname"]}}
          {{-- </td>
          <td>{{$user['Lastname']}}</td>
          <td> {{$user['email']}}</td>
          <td>{{$user['Phone']}}</td>
        </tr> --}}
        @endforeach
    ```
pls help
08 Aug
10 months ago

icelander started a new conversation SQLSTATE[HY000]: General Error: 2031 (SQL: Select * From `tranxav_discovered_problems` Where (`categoryID` = ? And `transmission_ID` Is Null))

hi. I intend getting a result from the database and render it on the view. I want to get from the table 'discovered problems' all data based on the criteria listed. below is my controller for that

 $cartransmission = Session::get('transmits');
 $category = tranxavcategory::all();
 $catid = tranxavcategory::all()->where('id',$cat);
 $condition = array('categoryID' => $catid, 'transmission_ID' => $cartransmission);
 $products =  DiscoveredProblem::where($condition)->get();

thanks

icelander left a reply on Type Error: Too Few Arguments To Function App\Http\Controllers\AdminController::send(), 0 Passed And Exactly 1 Expected

oh. great. it works. but how do I get the latest location of the user that I have saved in my database and display it in my view page. since at various times, his location may change. so how do I get and display his latest location from the database where I save them. thanks

icelander started a new conversation Type Error: Too Few Arguments To Function App\Http\Controllers\AdminController::send(), 0 Passed And Exactly 1 Expected

I get the above errors when I hit the submit button. the idea is to get the id of the user when the submit button is clicked and use it to load up a view where I can see the user details. this is the view page where I used a form and sent the id through a route

 @foreach ($fixed as $fix)
              <tr>
                    <td>{{ $fix->paymentID }}</td>
                   <td> {{ $fix->created_at }}</td>
                   
                   <td>  <button type="button" class="btn btn-success btn-sm">{{ $fix->status->description }}</button></td>
                  
                   <td> {{ $fix->amount }}</td>
                   <form action="{{ route('admin.send',['id'=>$fix->user->id])}}" method="POST">
                    {{ csrf_field() }}
                   <td> <button type="submit" class="btn btn-outline-success">  More</button></td>
                </form>
                   

the controller

 public function send($id){
        $driverdetails = VehicleInformation::find($id);

        return redirect(route('admin.profile',['driver'=>$driverdetails]));
       
    }
04 Aug
10 months ago

icelander left a reply on Call To A Member Function Notify() On Null

when I did dd(auth()->user()); it returned null. what should I do to fix this

icelander started a new conversation Call To A Member Function Notify() On Null

I get this error message. this is my code

$id= $bank['data']['metadata']['buyer_user_id'];
 $users = user::find($id);

  auth()->user()->notify(new MergedMechanic($users));

i just want to trigger a notification but when d page loads i get this error message

icelander left a reply on Trying To Get Property Of Non-object

its a logged in user.

icelander started a new conversation Trying To Get Property Of Non-object

this is my controller where I believe is the source of the above mentioned error `` public function handleGatewayCallback(Request $request) { $paymentDetails = Paystack::getPaymentData();

    $banks_data = json_encode($paymentDetails, true);
    

    $bank = json_decode($banks_data,true);

    
   $amount= $bank['data']['amount']/100;
   $ref= $bank['data']['reference'];

   Session::put('ref', $ref);

   if($amount == 1000){

    $time= $bank['data']['paidAt'];
   
   $location = VehicleInformation::where('user_id', Auth::user()->id)->orderBy('created_at','desc')->value('location');
  
   $carProblem = VehicleInformation::where('user_id', Auth::user()->id)->orderBy('created_at','desc')->value('problem');
   $vehiclename = VehicleInformation::where('user_id', Auth::user()->id)->orderBy('created_at','desc')->value('vname');

   $fixedpay = FixedPayment::insert([
       'amount'=>$amount,
       'location'=>$location,
       'problem'=>$carProblem,
       'vname'=>$vehiclename,
       'paymentID'=>$ref,
       'user_id' => auth()->user()->id,
       'created_at' => \Carbon\Carbon::now()->toDateTimeString(),
       'updated_at' => \Carbon\Carbon::now()->toDateTimeString()

       
   ]);
thanks
02 Aug
10 months ago

icelander left a reply on I Cant Seem To Install A New Laravel On My System

C:\xampp\htdocs\laravel-master>composer install
Composer could not find a composer.json file in C:\xampp\htdocs\laravel-master
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section

icelander left a reply on I Cant Seem To Install A New Laravel On My System

I have disabled my firewall. its turned off

icelander left a reply on I Cant Seem To Install A New Laravel On My System

I don't understand. could you be more elaborate pls

icelander left a reply on I Cant Seem To Install A New Laravel On My System

this is what I get after running d command

C:\xampp\htdocs>composer diag
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys:
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0  87719BA6 8F3BB723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B  0C708369 153E328C AD90147D AFE50952
OK
Checking composer version: OK
Composer version: 1.6.5
PHP version: 7.2.4
PHP binary path: C:\xampp\php\php.exe

icelander started a new conversation I Cant Seem To Install A New Laravel On My System

this is the error I get

C:\xampp\htdocs>composer create-project --prefer-dist laravel/laravel mechanic
The "http://packagist.org/p/provider-2015%240d87a02d730572dfb4d600d1c9a6f1ee16885a42687578e25251ecd0991b2ccd.json" file could not be downloaded: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

http://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date

pls help

01 Aug
10 months ago

icelander started a new conversation Expected Response Code 220 But Got Code "", With Message ""

this is my env file

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=379e22e6bdac59
MAIL_PASSWORD=06d74a391aa261
MAIL_ENCRYPTION=null
[email protected]
MAIL_FROM_NAME="CompanyName Support"

but I still get this error

icelander left a reply on Connection Could Not Be Established With Host Smtp.mailtrap.io [php_network_getaddresses: Getaddrinfo Failed: No Such Host Is Known. #0]

@cronix, I just did that, but am getting a new error: Expected response code 220 but got code "", with message ""

icelander left a reply on Connection Could Not Be Established With Host Smtp.mailtrap.io [php_network_getaddresses: Getaddrinfo Failed: No Such Host Is Known. #0]

Connection could not be established with host mailtrap.io [A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. #10060] I get that error afterwards

icelander started a new conversation Connection Could Not Be Established With Host Smtp.mailtrap.io [php_network_getaddresses: Getaddrinfo Failed: No Such Host Is Known. #0]

pls help.

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=6ae836dcc1adc4
MAIL_PASSWORD=a2fe73587cbe57
MAIL_ENCRYPTION=tls

that is my .env file but I still get these errors.

31 Jul
10 months ago

icelander started a new conversation Mailtrap Not Working

in my .env file I have this


MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=465  
MAIL_USERNAME=xxxxxxxxx
MAIL_PASSWORD=xxxxxxxx
MAIL_ENCRYPTION=

my username and password hidden. but i get the error saying Connection to smtp.mailtrap.io:465 Timed Out. pls help

icelander left a reply on I Cant Seem To Get Any Notification On My Notification Table In My Database

no, everything goes fine. but if the notification actually works, am supposed to see it in my database as specified above. but I don't see any.

icelander started a new conversation I Cant Seem To Get Any Notification On My Notification Table In My Database

hi. my aim is to get notifications sent to my notifications table each time I run this method contained in my controller. I truncated it just to show the problematic part below:

 $fixedpays = FinalPayment::insert([
            'totalAmount'=>$amount,
            'location'=>$locations,
            'verifiedproblem'=>$carts,
            'vehicle'=>$vehiclenames,
            'paymentsID'=>$ref,
            'user_id' => auth()->user()->id,
            'created_at' => \Carbon\Carbon::now()->toDateTimeString(),
             'updated_at' => \Carbon\Carbon::now()->toDateTimeString()
  ]);
        $users = auth()->user()->id;
        User::find($users)->notify(new MergedMechanic);
        return redirect()->to('second')->with('success','Successfully paid main charges. The    Mechanic can start work immediately!');
       
       }

in summary, I want to fire up that notification to the particular logged in user when payments have been made. but it doesn't seem to work. also in my view page, nothing is displayed in the notification icon

 @guest
        @else
        <div class="header-menu">
               
            <div class="col-sm-7">
                <a id="menuToggle" class="menutoggle pull-left"><i class="fa fa fa-tasks"></i></a>
                <div class="header-left">
                    <button class="search-trigger"><i class="fa fa-search"></i></button>
                    <div class="form-inline">
                        <form class="search-form">
                            <input class="form-control mr-sm-2" type="text" placeholder="Search ..." aria-label="Search">
                            <button class="search-close" type="submit"><i class="fa fa-close"></i></button>
                        </form>
                    </div>
                
                    <div class="dropdown for-notification">
                      <button class="btn btn-secondary dropdown-toggle" type="button" id="notification" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        <i class="fa fa-bell"></i>
                        <span class="count bg-danger">{{ Auth::user()->notifications->count() }} </span>
                      </button>
                      <div class="dropdown-menu" aria-labelledby="notification">
                          @foreach(auth()->user()->unreadNotifications as $notification)
                        <p class="red">You have  Notification</p>
                        <a class="dropdown-item media bg-flat-color-1" href="#">
                            <i class="fa fa-check"></i>
                            <p> {{$notification->type}} </p>
                        </a>@endforeach

This is part of my MergedToMechanic file in the notification folder

public function __construct()
    {
        //
    }

    /**
     * Get the notification's delivery channels.
     *
     * @param  mixed  $notifiable
     * @return array
     */
    public function via($notifiable)
    {
        return ['database'];
    }

    /**
     * Get the mail representation of the notification.
     *
     * @param  mixed  $notifiable
     * @return \Illuminate\Notifications\Messages\MailMessage
     */
    public function toMail($notifiable)
    {
        return (new MailMessage)
                    ->line('The introduction to the notification.')
                    ->action('Notification Action', url('/'))
                    ->line('Thank you for using our application!');
    }

    /**
     * Get the array representation of the notification.
     *
     * @param  mixed  $notifiable
     * @return array
     */
    public function toDatabase($notifiable)
    {
        return [
            'data'=>'A mechanic has been assigned to you. Thanks'
        ];
    }

    public function toArray($notifiable)
    {
        return [
            //
        ];
    }
}
30 Jul
10 months ago

icelander left a reply on I Get This Error Message Saying Class App\Http\Controllers\Thread Does Not Exist

the notification is for d user(driver) to know which mechanic is assigned to meet him and fix his car. I wish we were neighbours though, I wouldn't mind staying in your garage to learn a lot from the Laravel guru.

icelander left a reply on I Get This Error Message Saying Class App\Http\Controllers\Thread Does Not Exist

wow. obviously I still got a lot of work to do. but thanks for your observations. I want to use the RepliedToThread only when I have assigned a mechanic to a driver as seen in d method, so that the driver gets a message stating that a mechanic has been assigned to him.

icelander left a reply on I Get This Error Message Saying Class App\Http\Controllers\Thread Does Not Exist

no. it doesn't exist. when I create it, what should I put in it. because I have a notifications folder and inside of it, I have the RepliedToThread.php file and I thought that would be enough to create a notification for me when a certain controller method is called.

icelander left a reply on I Get This Error Message Saying Class App\Http\Controllers\Thread Does Not Exist

I just did that, and I get a new message saying Class App\Thread does not exist.

icelander started a new conversation I Get This Error Message Saying Class App\Http\Controllers\Thread Does Not Exist

this is my AdminController

<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Payment;
use Auth;
use App\Notifications\RepliedToThread;
use App\User;
use App\Cart;
use App\Order;
use App\Admin;
use App\mechanic;
use App\FixedPayment;
use App\FinalPayment;
use App\NonRefundable;
use App\MandatoryFee;
use App\likelyproblem;
use App\DiscoveredProblem;
use App\Category;
use App\Transmission;
use App\tranxavcategory;
use App\TranxavDrivers;
use App\TranxavMechanics;
use Session;
use App\Service;
use App\CarModel;
use Illuminate\Support\Facades\Input;
use DB;

and this is my function

public function engage(Request $request,Thread $thread){
    $pay = Session::get('payid');
    $mechs = Session::get('mechanic');
  
    

    if(!is_null($pay)){

      $pay->mergedmechanic=$mechs;
      $pay->assigned=1;
      $pay->save();  
      auth()->user()->notify(new RepliedToThread());
       return redirect(route('admin.assign'))->with('status','Driver merged with mechanic');
   
    }else{
        return redirect(route('admin.assign',['paid'=>$pay]));
   
    }
}
}

but I keep getting this error. what is wrong?

29 Jul
10 months ago

icelander left a reply on Extracting User Details From User_id

this is the controller for that view page `` $payid = FixedPayment::where('paymentID', '=', Input::get('jobid'))->first(); if ($payid === null) { return redirect(route('admin.check'))->with('status','Details not found in database'); }else{

    return view('admin.job',['paid'=>$payid]);
    // return redirect(route('admin.give',['paid'=>$payid]))->with('status','Details  found in database');

}
I want to get the firstname from the user table that corresponds to the user_id in the fixed_payment table

icelander left a reply on Extracting User Details From User_id

this is my model

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class FixedPayment extends Model
{
    protected $table = "tranxav_fixed_payment"; 
    protected $fillable = [
        'amount', 'problem','location','vname','paymentID'
    ];
}

this is my table

 public function up()
    {
        Schema::create('fixed_payment', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('user_id');
            $table->string('amount');
            $table->string('location');
            $table->string('problem');
            $table->string('vname');
            $table->string('paymentID');
            $table->timestamps();
        });
    }

icelander started a new conversation Extracting User Details From User_id

in my view am able to output data from my controller.

 <td> {{$paid['location']}} </td>

this works perfectly well. but when I do

<td> {{$paid['user_id']['firstname']}} </td>

i get an empty result. pls how do i get the user details like firstname from the user_id?

25 Jul
11 months ago

icelander started a new conversation Multiple Controllers

can I trigger two controllers simultaneously when a submit button is clicked in laravel

23 Jul
11 months ago

icelander started a new conversation Payments

pls has anyone implemented paystack on his Laravel app?

17 Jul
11 months ago

icelander started a new conversation Getting Data Using Parameters From One Table To Another Table

i have two tables in my database. the first one contains all the categories like brakes, engine, tyres. the second table has the categoryID which is the id of the categories table aforementioned. now, i want to get the problems of that categoryID and display it in a view. this is my controller where i get the id of the category and store it in a session


 public function next(Request $request){

        $maincategory = $request->input('category');
      
        Session::put('main', $maincategory);

        return redirect()->route('select');
    }


next is the other controller to the next page where i want it to show the problems associated to that categoryID. but its not showing those problems .


public function select(){ $maincategorys = Session::get('main');

    $catid = DiscoveredProblem::all()->where('categoryID',$maincategorys);
 
    $verifiedproblems = DiscoveredProblem::all()->where('categoryID',$catid);

    
    return view('select-problems',['verifiedcar'=>$verifiedproblems]);
}

icelander started a new conversation How To Display A Select Option When An Initial Select Option Is Clicked With Jquery

hi guys. this is my code but its not working

<script>
        function showcategory(){
            var selectBox = document.getElementById('category');
            var userInput = selectBox.options[selectBox.selectedIndex].value;
            if (userInput == $sel->id){
                document.getElementById('description').style.visibility = 'visible';
            }else{
                document.getElementById('description').style.visibility = 'hidden';
            
            }
            return false;
        }
        
        
        </script>
    </head>

this is my select option to initially select 

Select Category
                                         <select class="form-control" id="category" name="category" onchange="return showcategory();">
                                                 @foreach($category as $sel)
                                         <option value=" {{$sel->id}}"> {{$sel->category}} </option>
                                         @endforeach
                                         </select> 
                                     </div>
this is the select option I want to be displayed with contents based on the previously selected option

@foreach($catid as $describe) {{$describe->problems}} @endforeach
                                                  </select>

am using Laravel. thanks

16 Jul
11 months ago

icelander left a reply on Onchange Event, Getting A Value From A Select Tag And Changing The Visibility Of Other Elements

this is what I have done. below is my select option. am using Laravel.

@foreach($category as $sel) {{$sel->category}} @endforeach next is the other select option I want it to be displayed with items pertaining to it when its selected, that is, brake related option when brake option is earlier selected in the initial select option.

@foreach($catid as $describe) {{$describe->problems}} @endforeach

this is the script

function showcategory(){ var selectBox = document.getElementById('category'); var userInput = selectBox.options[selectBox.selectedIndex].value; if (userInput == $sel->id){ document.getElementById('description').style.visibility = 'visible'; }else{ document.getElementById('description').style.visibility = 'hidden'; } return false;} pls assist

icelander started a new conversation Onchange Event, Getting A Value From A Select Tag And Changing The Visibility Of Other Elements

i have tried several methods to achieve this aim but to no avail. pls can someone simply assist me with a dummy example to do it. once an option is selected, I just want it to display a select box with values pertaining to the value of the earlier selected option. for instance, the initial select option contains just engine and exhaust. once any one is clicked, the next select option appears with values pertaining to it. please guys help

icelander left a reply on Hi. Pls How Do I Make A Select Option Show After I Have Clicked An Initial Select Option

thanks. now, if I want to put it in a grid format. whereby I can display a block of 3 boxes on a row to display items pertaining engine or brakes or ignitions after selecting it in the select box initially, how do I go about it. a similar dummy would be highly appreciated

icelander started a new conversation Hi. Pls How Do I Make A Select Option Show After I Have Clicked An Initial Select Option

I am experiencing this problem. I have a select option where I have several options ranging from brakes, engine, ignition etc. now, I want a select option of brakes to appear when its selected from the initial select option, likewise engine and ignition options when they have been pre selected in the select option. how can I achieve that using jquery? a dummy example would be appreciated. thanks

icelander left a reply on How To Show And Hide Content Using Select Dropdown Box With Jquery

it doesn't run. perhaps there is a code missing on the select option, to let the javascript know what event triggered it

icelander started a new conversation How To Show And Hide Content Using Select Dropdown Box With Jquery

helo. pls I want to show various content for various selected content; brake problems for brake category selected, engine problems for engine category, etc. but this code only shows the problems for the last category selected. below is the code.

Select Category Select Category @foreach($category as $sel) {{$sel->category}} @endforeach @foreach($products->chunk(3) as $productChunk)

Add Vehicle Problems under this category

@foreach($productChunk as $product)

{{$product->description}} N{{$product->price}}

below is the javascript code;

function fun_showtextbox(){ var select_status =$('#categorys').val(); if(select_status == {{$sel->id}} ){ $('#problems').show(); }else{ $('#problems').hide();} }
14 Jul
11 months ago

icelander left a reply on How To Save Json Output Into Individual Columns In My Table In My Database.

wow. thanks guys. its been solved! but I have another question. how do I get the values of specific columns in a table and insert it into another table in my Laravel. I want to get the vehicle model and location fields from a certain table and put it into another table. thanks