Answers for "eloquent prepared statement"

PHP
0

laravel sql query

use Illuminate\Support\Facades\DB;

$users = DB::select('select * from users');

foreach ($users as $user) {
    echo $user->name;
}
Posted by: Guest on January-07-2021
0

Writing into the database with one click laravel

Route::post('/signup', [
    'as'   => 'signup',
    'uses' => 'YourController@manuelSignUP',
]);
Posted by: Guest on October-23-2020

Browse Popular Code Answers by Language