Answers for "laravel it is safe to use db::"

PHP
0

Writing into the database with one click laravel

public function manuelSignUP()
{
DB :: table("users") -> insertGetId
(
array("firstname" => "John", "lastname"=> "John",
"passwordHash" => "password", "userslevelID" => 2)
);

DB :: table("userlevel") -> insertGetID
  (

array("userlevelID" => $userlevelID, "name" => $name)
 );

 return view("pages.manualsignup");
 }
Posted by: Guest on October-23-2020
0

Writing into the database with one click laravel

<!DOCTYPE html>
 <html>
<head> </head>

<body> This should  </body>
<br><br><br><br>
<form method="post">
<button type="button"> submit </button>
</form>
</html>
Posted by: Guest on October-23-2020

Code answers related to "laravel it is safe to use db::"

Browse Popular Code Answers by Language