phil1992

phil1992

Member Since 5 Months Ago

Experience Points 280
Experience Level 1

4,720 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-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.

15 Feb
5 months ago

phil1992 left a reply on Does Anybody Know The Right Syntax Here ? ;)

thanks i got it know it was my fault i got somethin wrong with the Name of my db table ;) thanks for helping

phil1992 left a reply on Does Anybody Know The Right Syntax Here ? ;)

i just want to have the Posts in the variable $post which are made of the user which is visiting my view

phil1992 left a reply on Does Anybody Know The Right Syntax Here ? ;)

Auth id is from the user table and the nutzer_id is from a post table

phil1992 left a reply on Does Anybody Know The Right Syntax Here ? ;)

with a single = i get this error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'nutzer_id' in 'where clause' (SQL: select count(*) as aggregate from posts where nutzer_id = 1)"

phil1992 started a new conversation Does Anybody Know The Right Syntax Here ? ;)

Code: public function index() { $id=Auth::id(); $posts=post::orderBy('created_at','desc')->where('nutzer_id','==',$id)->paginate(8); //$posts=post::orderBy('created_at','desc')->take(1)->get(); return view('posts/meinedaten')->with('posts',$posts); }

error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'nutzer_id' in 'where clause' (SQL: select count(*) as aggregate from posts where nutzer_id = ==)"

14 Feb
5 months ago

phil1992 left a reply on "The File "/public/plots/20180807_10.56.01_raster11x21_1549956869_FGD.png" Does Not Exist"

thanks i solved it just had to put in the complete path of the file ;)

phil1992 started a new conversation "The File "/public/plots/20180807_10.56.01_raster11x21_1549956869_FGD.png" Does Not Exist"

here is my Code Routes: Route::post('/meinegraphiken/{id}','[email protected]'); [email protected]: public function download($id){ $graph=graph::find($id); return response()->download('/public/plots/'.$graph->DateiName,$graph->DateiName); and my view: {!!Form::open(['action'=>['[email protected]',$graph->id],'method'=>'POST','style'=>'float: right'])!!} {{Form::submit('download',['class'=>'btn btn-primary'])}} {!!Form::close()!!} Can anybody help me to fix this Problem ? ;)

13 Feb
5 months ago

phil1992 started a new conversation Want To Write A Php Variable In My Shell Exec Command But It Is Not Working

here is a part of my Code in the Controller $datnam="string"; echo shell_exec('echo"set terminal png; set output '/home/path/plot2.png'.....") with my plot2 png it is perfectly working but i want instead of plot2.png i want my variable $datnam, but it is not working can anybody help me ? ;)

12 Feb
5 months ago

phil1992 left a reply on Too Few Arguments To Function App?Http?Controllers?PostController::DateiAusGnu(), 0 Passed And Exactly 1 Expected

thanks raurabhd it works now but i am still a Little bit confused becaus my delete form Looks like this: also in the view {!!Form::open(['action'=>[[email protected]',$post->id], 'method'=>'POST'])!!} {{Form::hidden ('_method','DELETE')}} {{Form::submit('delete')}} and this is working without a Problem so why is this working and calling my [email protected] funcition not ? ;)

phil1992 started a new conversation Too Few Arguments To Function App?Http?Controllers?PostController::DateiAusGnu(), 0 Passed And Exactly 1 Expected

i have some Problems with this error my Code: in PostController: public function DateiAusGnu($id){ $post=post::find($id) view: {!!Form::open(['action'=>['[email protected]', $post->id], 'method'=>'POST'])!!} {{Form::submit('Graph erstellen')}} {!!Form::close()!!}

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