Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel update query builder

$update = DB::table('student') ->where('id', $data['id']) ->limit(1) ->update( [ 'name' => $data['name'], 'address' => $data['address'], 'email' => $data['email'], 'contactno' => $data['contactno'] ]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #update #query #builder
ADD COMMENT
Topic
Name
9+3 =