Category : visual-studio-code

class Data_barang extends CI_Controller{ public function index(){ $data[‘barang’] = $this->model_barang->tampil_data()->result(); $this->load->view(‘templates_admin/Header’); $this->load->view(‘templates_admin/Sidebar’); $this->load->view(‘admin/data_barang, $data’); $this->load->view(‘templates_admin/footer’); } Sourc..

Read more

Hello guys i’m trying to buildstart a PHP existing web app made with Laravel. I made this: 1.Installed XAMPP for PHP version 7.4, also configure Apache Server and tested with localhost and that is working 2.Installed Composer and connected with PHP version 7.4 3.Intalled Node.js 4.npm install in the project 5.composer install in the project ..

Read more

I’m working on a simple laravel api but the post method on Rest client only returns a redirection. This is my RegisterController, public function store(Request $request) { $this->validate($request, [ ‘name’ => ‘required|max:255’, ‘username’ => ‘required|max:255′, ’email’ => ‘required|email|max:255’, ‘password’ => ‘required|confirmed’, ]); $success = User::create([ ‘name’ => $request->name, ‘username’ => $request->username, ’email’ => $request->email, ‘password’ ..

Read more

In config/app.php ‘aliases’ => [ ‘Route’ => IlluminateSupportFacadesRoute::class, ], when I am using Route in routes/web.php like Route::get(‘/’, ‘[email protected]’); I installed php intelephense extension in my vs code. So that it is showing error like Does anyone have any idea how to fix this issue? (Functionality is working fine but it is showing like the ..

Read more