Skip to content
Advertisement

Tag: phpmyadmin

I am trying to fetch information from phpmyadmin database, but in browser it’s showing cannot get/employee and in command prompt there is no error

Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 PS E:Developmentcrud-node> node index.js Express server is running on port number: 8000 DB connection is successful Answer there seems to be spelling mistake in end point. The one you specified in error detail and the one defined in the code are different

SQLSTATE[23000]: Integrity constraint violation: 1048 laravel 5.7

I am getting error in Laravel 5.7: IlluminateDatabaseQueryException SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘name’ cannot be null (SQL: insert into stores (name, matric, phone, email, password, updated_at, created_at) values (?, ?, ?, ?, ?, 2019-10-01 16:29:49, 2019-10-01 16:29:49)) This is my form: This is UserController: This is the Migration: Answer You are missing name attribute in your html form.

Advertisement