[Solved] Selecting Data from data base SQL


try this one

first away to get data.

$check = DB::select("select * from accounts where username = ?",[$data['username']]);

second away to get data.

$check = DB::select("select * from accounts where username = :userName",['userName' => $data['username']]);

1

solved Selecting Data from data base SQL