samedi 4 février 2017

Getting Undefined index: store_id; [duplicate]

I am using a query

 $store_verification = Store_sale::select('store_id')
                        ->where('sale_id','=',$sale)
                        ->get();

    $sale_store_id = $store_verification['store_id'];   

But when I use it like

if(session::get('store_id') == $sale_store_id)
    {
        $ssp->save();
    }

It gives me undefined index: store_id Why? Is there any point I am missing or not using



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2l49XPN
via IFTTT

Aucun commentaire:

Enregistrer un commentaire