Vandan29

Vandan29

Member Since 5 Months Ago

Experience Points
15,150
Total
Experience

4,850 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
120
Lessons
Completed
Best Reply Awards
4
Best Reply
Awards
  • start-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-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-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist 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 4
15,150 XP
Jul
27
2 months ago
Activity icon

Replied to Videos On Mobile Not Working

@ltrain You should buy new phone or factory reset

Buy Iphone xs

Activity icon

Replied to [Off Topic] Mac Or PC For Development

@scc

Yes, I m working with windows, and is a pain in the ass configure your work flow I should Prefer MAC

Activity icon

Replied to Which OS Are Most Laravel Developers Using?

@dt

Windows and mac I should prefer Mac

Activity icon

Replied to What Would You Love To See In Laravel 5.1?

@Ruffle

Sorry Bro I started Learn laravel 5.3

Activity icon

Replied to Welcome To The New Forum!

@je

I like the new system. esotalk was good but this is great and looks very simple ::::::

Activity icon

Replied to What Are You Missing?

@je

School Days And Collage lIfe

Activity icon

Replied to Informal Poll: Routes File

Yes to 'include by default'.

Activity icon

Replied to Laracasts Refresh

Jalsa che bapuu tara Raj ma

Activity icon

Replied to Best Laptop For Web Developer?

@eco012390

You should go Macbook pro

Activity icon

Replied to Laravel Version

You should start your project in 5.7

Activity icon

Replied to How Can I Display Random Option In My Question Every Time?

In your blade file

     @foreach($query->shuffle() as $data)

Try this

Jul
18
2 months ago
Activity icon

Replied to Validation.captcha Error When Submit Data

Maka Request

return [
    'g-recaptcha-response' => 'required|captcha'
];

then apply your controller

Activity icon

Replied to Validation.captcha Error When Submit Data

send controller file

Jul
08
3 months ago
Activity icon

Replied to Redirecting A Route

@matildah Try this

return \Redirect::route(''restaurant.view',$restaurant->id);

Activity icon

Replied to How To Pass Input Field Id Pass In Script

@jay_chauhan Thanks but still not working

Jul
02
3 months ago
Activity icon

Replied to How To Pass Input Field Id Pass In Script

@JAY_CHAUHAN - Thanks but I want dynamic input field I try it this working perfect but when I add new field then sun not work

Activity icon

Replied to How To Pass Input Field Id Pass In Script

@MSTRAUSS - Thanks but still not working

Jul
01
3 months ago
Activity icon

Replied to How To Pass Input Field Id Pass In Script

Html Code

    <td></td>
            <td><input type="text" name="name[]" placeholder="Enter your Name" class="form-control name_list"/></td>
             <td><input type="text" name="time[]" placeholder="Enter your Time" class="form-control name_list"/></td>
             <td><input type="text" name="amount[]" id="amount" placeholder="Enter your Amount" class="form-control name_list"/></td>
             <td><button type="button" name="add" id="add" class="btn btn-success">Add More</button></td>
Activity icon

Replied to How To Pass Input Field Id Pass In Script

@VAN1310 - Thanks But not working

Activity icon

Replied to Flash Not Work In Laravel 5.5

@VAN1310 - I try this but still not working

Activity icon

Replied to Flash Not Work In Laravel 5.5

Done I add Some File Then I delete those file After work perfect

Activity icon

Replied to Where Are You All From?

Ahmedabad, India

Activity icon

Started a new conversation How To Pass Input Field Id Pass In Script

IN Laravel same blade file use two script one script was multiple Qty and Amount Second script was add dynamic input field First script work on just first field after I add dynamic field script doesn't work

<script>
        var qty = '#qty';
        var amount = '#amount';
        var theTotal = 0;
        $('input').change(function(){
        theTotal = Number($(qty).val()) * Number($(amount).val());
            $('#tussenstand').val("Total: "+theTotal);        
        });

        var total = $('#tussenstand').val("Total: "+theTotal);
</script>

<script type="text/javascript">
        $(document).ready(function(){
        var postURL = "<?php echo url('addmore'); ?>";
        var i=1;

        $('#add').click(function(){
        i++;
        $('#dynamic_field').append('<tr id="row'+i+'" class="dynamic-added"><td></td><td><input                                                                 type="text" name="name[]" placeholder="Enter your Name" class="form-control name_list" /></td><td><input type="number" name="qty[]" id="qty" class="form-control name_list" /></td><td><input type="number" name="amount[]" id="amount" placeholder="Enter your Amount" class="form-control name_list" /></td><td><input type="text" name="subtotal[]" id="'+total+'" class="form-control" disabled></td><td><button type="button" name="remove" id="'+i+'" class="btn btn-danger btn_remove">X</button></td></tr>');
        });

        $(document).on('click', '.btn_remove', function(){
        var button_id = $(this).attr("id");
        $('#row'+button_id+'').remove();
        });

        $.ajaxSetup({
        headers: {
                'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
            }
        });

        $('#submit').click(function(){
        $.ajax({
                url:postURL,
                method:"POST",
                data:$('#add_name').serialize(),
                type:'json',
                success:function(data)
                {
                        if(data.error){
                            printErrorMsg(data.error);
                        }else{
                            i=1;
                            $('.dynamic-added').remove();
                            $('#add_name')[0].reset();
                            $(".print-success-msg").find("ul").html('');
                            $(".print-success-msg").css('display','block');
                            $(".print-error-msg").css('display','none');
                            $(".print-success-msg").find("ul").append('<li>Record Inserted Successfully.</li>');
                        }
                }
        });
        });
</script>

html in

Add More
Jun
19
3 months ago
Jun
07
4 months ago
Activity icon

Replied to Two Value Display In Single Dropdown In Laravel

2 method display two value in single

<select class="form-control m-input" name="branch_id">
        @foreach($branch as $branches)
                <option value="{{$branches->id}}">{{$branches->branch.$branches->branch_info}}</option>
        @endforeach
</select>
Activity icon

Replied to Two Value Display In Single Dropdown In Laravel

try this

<select class="form-control m-input" name="branch_id">
        @foreach($branch as $branches)
            <option value="{{$branches->id}}">{{$branches->branch}} : {{$branches->branch_info}}</option>
        @endforeach
</select>
May
30
4 months ago
Activity icon

Replied to Flash Not Work In Laravel 5.5

@TRAY2 - thanks but not working

Activity icon

Started a new conversation Flash Not Work In Laravel 5.5

flash message not display include all css file and script file after not working

controller file

 public function store(Request $request){
        $acb = Abc::publish($request);
        flash('hello')->success();
        return redirect()->back();
 }

blade.php

<div class="row">
            <div class="col-md-12">
                @include('flash::message')
    </div>
</div>
May
22
4 months ago
Activity icon

Replied to How To Duplicate Value Validation In Laravel

add this In Your Request file

public function rules()
        {
            return [
                    'addjob'=>'required|unique:Your table name,field name'
            ];
        }

try this

May
21
4 months ago
Activity icon

Replied to Laravel Baum/baum Package Error

Done Thanks For the reply

Category Model

class Category extends Model
{

}

Change :-

class Category extends \Baum\Node
{

}
May
20
4 months ago
Activity icon

Started a new conversation Laravel Baum/baum Package Error

BadMethodCallException Method toHierarchy does not exist.

Helper.php

function get_category_list()
{
        $categories = Category::all()->toHierarchy();
        $cats = [];

        foreach($categories as $category)
        {
            $cats[$category->id] = $category->name;
            if(!empty($category->children)){
                foreach($category->children as $child)
                {
                    $cats[$child->id]= '—'. $child->name;

                    if(!empty($child->children)){
                            foreach($child->children as $sub_child)
                            {
                                $cats[$sub_child->id]= '——'. $sub_child->name;
                            }
                     }
                }
        }
    }

    return $cats;
}

CategoriesController.php

public function index()
    {
            $category_list = get_category_list();
            $category_list = array('0' => 'None') + $category_list;

            $categories = Category::All()->toHierarchy();

            return view('admin.categories.index')->with([
            'cat_list' => $category_list,
            'categories' => $categories
        ]);
    }
May
11
5 months ago
Activity icon

Replied to Error On Resource Route

@pawelmysior I was try it but same error

Activity icon

Started a new conversation Error On Resource Route

I use resource route but error is coming My route:-

Route::resource('admin/portfolio','PortfolioController');

ErrorException (E_ERROR)

Route [admin.portfolio.create] not defined. (View: 
C:\laragon\www\dynamic\resources\views\admin\layouts\partials\sidebar.blade.php)
Activity icon

Replied to Not Working Show Function In Laravel 5.7

@msoft Try this store data

<form action="{{url('studentcourceform')}}" method="post">

Route::post('studentcourceform','[email protected]');

$studentcource = Studentcource::create([
            'name' => $request->name,
            'address' => $request->address,
        'telephone' => $request->telephone,
        'cource' => $request->cource
    ]);
May
10
5 months ago
Activity icon

Replied to Not Working Show Function In Laravel 5.7

Controller file change those line

public function show($id)

    {
        $studentcources = Studentcource::find($id);
        return view('studentcourcedata',compact('studentcources'));
    }

and my route is

            Route::get('studentcourcedata/{id}','[email protected]')->name('studentcourcedata');

try this

Activity icon

Replied to Problem When Running Seeders Laravel 5.5

check you table name

May
09
5 months ago
Activity icon

Replied to Problem With Adding Same Id Values In View.blade File

Change Your income_type model

public function income()

{

      return $this->hasMany('App\Income');

}

Try this

Activity icon

Replied to Where Are You All From?

Ahmedabad, India

Activity icon

Replied to Not Working Php Artisan Db:seed?

Check your names

Your file name: UserTablesSeeder

You call: UserTableSeeder

You add s after Table

Activity icon

Replied to Which Method Use In Laravel 5.5 Place Of Dispatchfrom

That's because DoWhatEverCommand::class returns the current class name as a string. For your dispatch method it looks like you need to pass through an instance of the object.. Try:

$this->dispatch(app()->make(DoWhatEverCommand::class), $request);
Activity icon

Started a new conversation Which Method Use In Laravel 5.5 Place Of Dispatchfrom

which method use in laravel 5.5 place of dispatch from