jeudi 18 mars 2021

Laravel Fetch Value form Session

Here is my Session and i would like to fetch the value from Sample_table to get the original array value how can i do that ?

 Sample_table{#266 ▼
  #fillable: array:6 [▶]
  #table: "Sample_table"
  #primaryKey: "id"
  +timestamps: true
  #connection: "mysql"
  #keyType: "int"
  +incrementing: true
  #with: []
  #withCount: []
  #perPage: 15
  +exists: true
  +wasRecentlyCreated: false
  #attributes: array:20 [▶]
  #original: array:20 [▼
    "id" => "9"
    "firstName" => "test"
    "lastName" => "asdf"
    "middleName" => "test"
    "contactNo" => "2147483647"
    "emailAddress" => "test@gmail.com"
    "residenceAddress" => "afsf"
    "province_id" => "6"
    "city_id" => "3"
    "barangay_id" => "16982"
    "copyMailing" => null
    "mailingAddress" => null
    "mailing_province_id" => "6"
    "mailing_city_id" => "3"
    "mailing_barangay_id" => "16982"
    "status" => "0"
    "userIdentity" => "0"
    "global_id" => "0"
    "updated_at" => "0000-00-00 00:00:00"
    "created_at" => "0000-00-00 00:00:00"
  ]


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire