• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

can take values directly from database to view page?

Knowledge Base
2
2
739
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    Harsha last edited by 22 Apr 2021, 06:00

    can take values directly from database to view page?

    1 Reply Last reply Reply Quote 0
    • devansh-webkul
      devansh-webkul last edited by 23 Apr 2021, 04:26

      Hi @Harsha,

      You can but this is not recommendable. As Laravel is an MVC pattern you need to separate your logic and pass it by the controller to view.

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post