Nodejs, PHP, ExpressJs, MySql, MongoDB

Showing: 1 - 5 of 17 RESULTS
CSS Laravel MySql PHP RESTFull Web Development Website XAMPP

Laravel: Get Newest/Oldest Records from Pivot Table in BelongsToMany

Default belongsToMany relationship in Laravel works really well – you can easily attach, detach or sync records. But what if you want to order pivot records by newest or oldest? This article will show you how. Here’s how default pivot table is described. Migration file: class CreateProjectUserPivotTable extends Migration { public function up() { Schema::create(‘project_user’, …

Laravel MySql PHP RESTFull Web Development Website XAMPP

PHP CRUD Operation using Stored Procedure

In previous tutorial, we learned about stored procedure in PHP. In this tutorial, we will learn CRURD operation using Stored Procedure. File Structure for CRUD Operation dbconfig.php-  used for database connection tblusers.sql–  Contain the structure of the database table insert.php- used for add a record in the database index.php–  Used for read the record from database . update.php– Used for …

  • twitter
  • facebook
  • instagram
  • linkedin