Posts by Vitória • 93 points
10 posts
-
0
votes2
answers76
viewsQ: The form is not being saved in the comic
Controller public function cadastro() { return View('/cadastro'); } public function novo() { $user = \App\User::where('User',"=", Input::get("User"))->first(); $user->name =…
-
0
votes2
answers452
viewsQ: How to make an if/Else within a route?
I have a form that has two types of users: administrators and developers and each one has its post login page, but even logged in as an administrator, I can go to the developer pages. I need to fix…
-
0
votes0
answers62
viewsQ: Exception in Collection.php line 1543:
Property [type] does not exist on this Collection instance. I am doing a project in Laravel (5.4) where it is practically ready, however, this error is occurring, because I want the user to click to…
-
3
votes2
answers3927
viewsQ: How to edit the routes created by make:auth?
I have a project at Laravel where I used the command make:auth to create the views, routes, controllers etc, a registration form. I need to change the a view which is used by default in login for a…
-
0
votes1
answer136
views -
2
votes0
answers49
viewsQ: Mysql Relationships Table
I have a view called 'clients.Blade' where the administrator will choose which clients a particular developer can see, but I don’t know how to save these changes to the database. Model public…
-
0
votes1
answer71
viewsQ: How do I assign a view to an Submit input?
I want to assign a link to an input in my code. For example: The view is called 'panel.Blade' and I wanted an input in the 'Adm.Blade' view to return it. Controller class Clientscontroller extends…
-
0
votes0
answers50
viewsQ: Project using Laravel and Mysql
Hello, I’m doing a registration project and I’m stuck in a business. I have a Users table in Mysql where I have a column called 'Status' (default), that is, an administrator can 'enable' or…
-
1
votes1
answer1036
viewsQ: Undefined variable: users
Undefined variable: users (View: C: Users Vitoria Desktop Laravel Resources views painel.blade.php) Panel.blade.php <!DOCTYPE html> <html lang="pt-br"> <head> <meta…
-
1
votes1
answer43
viewsQ: Code is not being read in full
In my Controller file, only the 'Return View' is being read, the following code is passed directly and ends. public function naocadastrado() { return View('/naocadastrado'); $user = new \App\User();…