hasti

hasti

Member Since 2 Months Ago

Experience Points 3,850
Experience Level 1

1,150 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 31
Lessons
Completed
Best Reply Awards 1
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.

13 Sep
1 week ago
12 Sep
1 week ago

hasti left a reply on How I Store Data From My Browser To Database Directly

thank you @snapey for this solution it's working but can you tell me how I get my header name in my CSV file with append() function

hasti left a reply on How I Store Data From My Browser To Database Directly

this is line 37

    $file = append("contacts.csv",$image . ',' . $text);

actually this is the error of append() class

hasti left a reply on How I Store Data From My Browser To Database Directly

I got this error

Fatal error: Uncaught Error: Call to undefined function append() in C:\laragon\www\pinterest\save.php:37 Stack              
trace: #0 {main} thrown in C:\laragon\www\pinterest\save.php on line 37
11 Sep
1 week ago

hasti left a reply on How I Store Data From My Browser To Database Directly

I have to store data in Mysql and export data at the same time

hasti left a reply on How I Store Data From My Browser To Database Directly

my data is a scraped already in the browser and i want to store in database and export that CSV file too

10 Sep
1 week ago

hasti started a new conversation How I Store Data From My Browser To Database Directly

I made scrapper for a particular website so how can I store that data in CSV

this is my code

$items = $crawler->filter('.sg-col-20-of-24 .s-result-item  > div > div')->each(function (Crawler $node, $i)                        
{
    //echo  $node->html();

    $text =  $node->text();
    $image =  $node->filter('img')->attr('src');
    $item = [
            'image' => $image,
            'text' => $text
    ];
    return $item;
});

hasti left a reply on Can't Display My Background Image

try with this code

.image{
    background-image: url('../img/slider/lg.jpg');
}
20 Aug
1 month ago

hasti left a reply on Filter Mailing List While Importing It

i tried this also but i have to import file while filtering email so this may not work for me

hasti started a new conversation Filter Mailing List While Importing It

i want to filter my mailing list with only validate and unique email i tried this code but its not working please help me out with this here is my code here is my model

public static function import($dto,$file){

    $path = $file->getRealPath();
  $data = \Excel::load($path)->get();

    foreach($data->toArray() as $key => $value){
        foreach($value as $row){ 
            if(Validator::make(['email' => $row], [
                'email' => 'required|email'])){
                    $insert_data = Mail::create(array(
                        'name'  => $row['name'],
                        'email'   => $row['email']
                        ));
                    $insert_data->GroupMAil()->attach($dto->group_name);
            }   
        }
    }
    }

thanks in advance