salmazz45

salmazz45

Member Since 2 Weeks Ago

Experience Points
410
Total
Experience

4,590 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
0
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 1
410 XP
Aug
09
13 hours ago
Activity icon

Replied to Loading On Submit

is it complete the submit action and make the request to the backend or not ??

Activity icon

Started a new Conversation Loading On Submit

how can appear loading animation when i make submit on form ??

Aug
07
2 days ago
Activity icon

Started a new Conversation Laravel Vistors To My Website

how can i get the visitors count to my website ?

Jul
28
1 week ago
Activity icon

Started a new Conversation Get Order_id From Hidden Input

i am order page in my admin panel i am separate order and order_details in edit page i am creating two forms edit order and edit order details when i put hidden input to get order id in order details form it return null why? i will put the full code here `{{-- Start order details form--}}

@method('PUT') @csrf {{isset($order) ? "Edit" : "Add "}} Order Details @forelse((old('order_details') != null ? old('order_details') : (( $order->order_details != null) ? $order->order_details : [])) as $order_detail) Options Select Product @foreach($products as $product) id ? 'selected' : ''}}>{{$product->name}} @endforeach @empty Options Select Product @foreach($products as $product) {{$product->name}} @endforeach @endforelse @error('order_details.*.product_id'){{ $errors->first('order_details.*.product_id') }}@enderror @error('order_details.*.quantity'){{ $errors->first('order_details.*.quantity') }}@enderror {{--end order details form--}}`

/** * Show the form for editing the specified resource. * @param int $id * @return \Illuminate\Contracts\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\View\View */ public function edit($id) { $order = Order::where('id',$id)->with('order_details')->first(); $users = User::all(); $coupons = Coupon::all(); $addresses = Address::all(); $products = Product::all(); $orderDetails = OrderDetails::where('order_id',$id)->first(); return view('order::admin.orders.edit')->with([ 'order' => $order, 'updateRoute' => 'admin.orders.update', 'users' => $users, 'coupons' => $coupons, 'addresses' => $addresses, 'products' => $products, 'orderDetails' => $orderDetails ]); }

``

Jul
26
2 weeks ago
Activity icon

Replied to General Error: 1364 Field 'cover_image' Doesn't Have A Default Value When Saving To Table

add cover_image to modal in fillable and check if the request send this is error means he send empty value

Activity icon

Started a new Conversation Do I Have To Pass Id As Hidden Input To Store Function ?

Do I have to pass id as hidden input to store function ?

Jul
24
2 weeks ago
Activity icon

Started a new Conversation Validation For Quantity And Price

i have in my table for add order price and quantity and i make it float in my migration schema what is the best validation to make it numeric or ?

Activity icon

Replied to Add Tax In My ECommerce App

thank u for ur notes I will take it into consideration

Activity icon

Replied to Add Tax In My ECommerce App

thanks done edit

Activity icon

Started a new Conversation Add Tax In My ECommerce App

i am creating eCommerce application with laravel when i creating order i dont know where i can take the value of tax put it in the setting on the website or ?? please help me for the best solution to make it it my schema Schema::create('orders', function (Blueprint $table) { $table->bigIncrements('id'); $table->unsignedBigInteger('user_id'); $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); $table->unsignedBigInteger('address_id'); $table->foreign('address_id')->references('id')->on('addresses')->onDelete('cascade'); $table->unsignedBigInteger('coupon_id')->nullable(); $table->foreign('coupon_id')->references('id')->on('coupons')->onDelete('set null'); $table->enum('status', ['in_progress', 'accepted', 'on_delivery', 'delivered', 'canceled']); $table->decimal('total_product_count'); $table->decimal('discount')->default(0); $table->decimal('total'); $table->decimal('total_paid'); $table->timestamps(); });

Jul
22
2 weeks ago
Activity icon

Replied to Can't Make Migration And Get Error

thank u it is worked !

Jul
21
2 weeks ago
Activity icon

Replied to Can't Make Migration And Get Error

no i get the error it is because i am used view share in app service provider how can i avoid it again ?!

Activity icon

Started a new Conversation Can't Make Migration And Get Error

when i make migrate:fresh get error the table countries doesn't exists although it is exists and it be worked But it suddenly happened how can i fix it ?

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'infinite-market.countries' doesn't exist (SQL: select * from countries)

at E:\laragon\www\infinite-market\vendor\laravel\framework\src\Illuminate\Database\Connection.php:671 667| // If an exception occurs when attempting to run a query, we'll format the error 668| // message to include the bindings with SQL, which will make this exception a 669| // lot more helpful to the developer instead of just the database's errors. 670| catch (Exception $e) {

671| throw new QueryException( 672| $query, $this->prepareBindings($bindings), $e 673| ); 674| } 675|

• A table was not found: You might have forgotten to run your migrations. You can run your migrations using php artisan migrate. https://laravel.com/docs/master/migrations#running-migrations

1 [internal]:0 Illuminate\Foundation\Application::Illuminate\Foundation{closure}(Object(App\Providers\AppServiceProvider))

2 E:\laragon\www\infinite-market\vendor\laravel\framework\src\Illuminate\Database\Connection.php:331 PDOException::("SQLSTATE[42S02]: Base table or view not found: 1146 Table 'infinite-market.countries' doesn't exist")