What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-02-05 17:35:01
laravel query builder data insert
use Illuminate\Support\Facades\DB;//use it above use Illuminate\Support\Facades\Hash; //Hash for password || use it above public function create(Request $request) { DB::table('students')->insert([ 'email' => $request->... Add solution -
Other 2022-02-02 22:20:17
randome words api
// GetRandom Words from API and push to Array async function getRandomWord() { const res = await fetch('https://random-words-api.vercel.app/word'); const data = await res.json(); return data[Object.keys(data)[0]].word.toLowerCase(); } getRandomW... Add solution -
PHP 2022-02-02 20:06:06
how to separate admin and user login in laravel
public function up() { Schema::create('admins', function (Blueprint $table) { $table->bigIncrements('id'); $table->string('name')... Add solution -
PHP 2022-02-02 19:21:06
add a new column to existing table in a migration
php artisan make:migration add_paid_to_users_table --table=users public function up() { Schema::table('users', function($table) { $table->integer('paid'); }); } public function down() { Schema::table('users', function($table) { ... Add solution -
VBA 2022-02-02 18:50:10
vba text max line length
' Max line length inside a text Public Function MaxLineSize(ByVal pText As String) Dim lines() As String Dim line As Variant lines = Split(pText, vbCrLf) If UBound(lines) - LBound(lines) + 1 = 0 Then Exit Function For Each line In lines ... Add solution
Best helpers
Cob
+5
Nick Rowe
+5
V0ight
+5
Jun Czyrka
+5
AppleFix88
+5
Kapil
+5
Oddthinking
+5
Arttu
+5
Geoffre14
+5
Lvoyster
+5
BuckNaked69
+5
S9527
+5