Ftoi

Ftoi

Member Since 3 Years Ago

AGADIR

Experience Points 3,380
Experience Level 1

1,620 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 1
Lessons
Completed
Best Reply Awards 4
Best Reply
Awards
  • Start Your Engines Achievement

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • First Thousand Achievement

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • One Year Member Achievement

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • Two Year Member Achievement

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • Three Year Member Achievement

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • Four Year Member Achievement

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • Five Year Member Achievement

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • School In Session Achievement

    School In Session

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

  • Welcome To The Community Achievement

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • Full Time Learner Achievement

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • Pay It Forward Achievement

    Pay It Forward

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

  • Subscriber Achievement

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • Lifer Achievement

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • Laracasts Evangelist Achievement

    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 Achievement

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • Laracasts Veteran Achievement

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • Ten Thousand Strong Achievement

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • Laracasts Master Achievement

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • Laracasts Tutor Achievement

    Laracasts Tutor

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

  • Laracasts Sensei Achievement

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • Top 50 Achievement

    Top 50

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

15 Feb
2 years ago

Ftoi left a reply on Auto Update A Column Value

@FaresWardeni check this tutorial it's like your ideas http://www.expertphp.in/article/laravel-5-task-scheduling-with-cron-job-example hi run this cron in linux if you using windows check this http://stackoverflow.com/a/36305522

Ftoi left a reply on Auto Update A Column Value

the best way is to create a Task Scheduling after 30 min or 5 min or what do you want hi make a update check this : https://laravel.com/docs/5.3/scheduling

14 Feb
2 years ago

Ftoi left a reply on Datatables Result

@lifesound send the data to view and make a loop as @ankitparmar372 says it better to manage your item

Ftoi left a reply on New Paragraph With Every Line Break In Markdown

in the documentation of Laravel-Markdown says that break line work with "\n" source : https://github.com/GrahamCampbell/Laravel-Markdown i didn't work with this package before but hope helping you

Ftoi left a reply on Php Artisan Migrate , Access Denied

check if you phpmyadmin have a password put in DB_PASSWORD

Ftoi left a reply on Convert Codeigniter To Laravel

The only way is to create a new projects Laravel and look at project codeigniter and do same function and all in backend either the frontend we can copy a HTML/CSS into new view in Laravel no problem

13 Feb
2 years ago

Ftoi left a reply on Question About : Laracasts

okeey @jaydeluca i delete the post which i tag Taylor and this is the problem http://imgur.com/g5DNuvp when i click in my thumbs up (like) and remove the POINTS EXPERIENCE upgrade and decrease i think that's is false because the logic is can't give a like or unlike to my comments make this icon be invisible near all my comments and also if exist nothing change to my points of experience if i do i like or unlike

Ftoi left a reply on Question About : Laracasts

@jaydeluca you didn't understand what i means or wht ?

Ftoi left a reply on Question About : Laracasts

@TaylorOtwell can you see this ?

Ftoi left a reply on Show/hide Fields On Click On Link

okey in controller change

all() by get()

and in views

foreach ($all_domains as $domain)
{
//here make what you want 
    if($domain->id==1)
    {
    echo $domain->domain;
      $projects=DB::table('projects')->where('domain_id', '=', 1)->get();
      foreach ($projects as $proj)
          {
                 echo $proj->title."---".$proj->code;
                }
    }
else // or if($domain->id==2) if there is a condition in domains 2 make other is , if doesn't make else 
{
     //something;
}
 echo "----"; 
}
dd("Stop");

Ftoi started a new conversation Question About : Laracasts

Hey , There is a bug here in our website i see that the POINTS EXPERIENCE can upgrade and decrease by your self i'm go to on of my question and put like on my comments and same time unlike the number of points is decrease , as i see if there persons make to himself like or unlike must nothings change what do you thinks about this ?

Ftoi left a reply on Show/hide Fields On Click On Link

So you have two tables the relation is domains has much projects and key between is domain_id for show all domains and his projects in index

public function index(Request $request)
{
    $all_domains=DB::table('domains')->all();    
    return view('projects.index',compact('all_domains'));
}

and in table

foreach ($all_domains as $domain)
{
    echo $domain->domain;
    $projects=DB::table('projects')->where('domain_id', '=', $domain-       >id)->get();
    foreach ($projects as $proj)
    {
    echo $proj->title."---".$proj->code;
    }
 echo "----"; 
}
dd("Stop");

run this well get all domains and each domains with a projects

Ftoi left a reply on Show/hide Fields On Click On Link

@NewbieToLaravel can put a screenshot of database and structure of table empty to write a eloquent query to make a relation between tables

Ftoi left a reply on Show/hide Fields On Click On Link

Hey , as i understand you have a domains with multi sub-domains and in each sub domains there is a projects with multi data ?

Ftoi left a reply on Laravel Spark

this is a full documentation how to install https://spark.laravel.com/docs/4.0/installation

08 Feb
2 years ago

Ftoi left a reply on Laravel Showing Index Of /

Route

Route::resource('posts','PostController');

zz

Ftoi left a reply on Laravel Showing Index Of /

~ con so ~

Ftoi left a reply on All POST Requests Return 404 Though All Routes Exist

always after upgrading the problem come from class check App\Http...

Ftoi left a reply on How Can I Write Source Code In Laracast?

console.log("done");

Ftoi left a reply on How To Write Code In Laracast?

`` Code goes in here..

Ftoi left a reply on How To Write Code In Laracast?

​```

Code goes in here..

​```

Ftoi left a reply on Ajax Submit Form Laravel 5.3

`` 55

Ftoi left a reply on Ajax Submit Form Laravel 5.3

`` zz

Ftoi left a reply on Dusk: CSRF Mismatch Error

everything is in documentation about CSRF maybe you forget X-CSRF-TOKEN https://laravel.com/docs/5.4/csrf

Ftoi left a reply on Ajax Submit Form Laravel 5.3

check if csrf_token and data is taking with console.log(data); console.log(headers); before $.ajax if done trying to make data send like this data: { '_token': token, 'data': data }, and in controller trying to response all if($request->ajax()){ return response()->json($request); } and show them in success this is my way to find source of problem first is make sure is relation between view and controller is done and after everthing is easy

Ftoi left a reply on Generate Serials For Activate Mobile Application

do you speak about *php artisan key:generate * or what explain more bro

Ftoi left a reply on Cant Get Laravel Scheduling To Work

fist things this is a documentation how scheduling work https://laravel.com/docs/5.3/scheduling then as my experience always make a schedule in controller and make test on it after you get everything OK , copy to schedule finaly about your problem run : *composer install if exist update * hope it's work :)

Ftoi left a reply on Best Way To Get DOM Website ?

@CrushCandy i'm working with laravel and this cas i didn't find a way in Laravel that's way i'm using a pure php @Gck i will trying

02 Feb
2 years ago

Ftoi left a reply on Best Way To Get DOM Website ?

@jlrdw i didn't work with database base just want to show all this article @jimmck it's too far bro what i want is just get some information from webpage DOM and show it

Ftoi left a reply on Web Middlewares Are Not Executed (Laravel 5.3)

trying this php artisan route:list -v

Ftoi left a reply on Admin/CRUD Packages Compatible With 5.4

it's looking the same not a big different with few work can include Admin/CRUD 5.3 in 5.4 check the news modification in L5.4 https://laravel-news.com/laravel-5-4 this post if you working in L5.3 and want do a upgrade https://laravelshift.com/upgrade-laravel-5.3-to-laravel-5.4

Ftoi left a reply on [LUMEN 5.4] Class 'Memcached' Not Found

The Lumen cache drivers utilize the exact same code as the full Laravel cache drivers. as the documentation of lumen says https://lumen.laravel.com/docs/5.2/cache

01 Feb
2 years ago

Ftoi left a reply on Show Response And Query Time

write you solution and make Best Answer to help the other :)

Ftoi left a reply on Show Response And Query Time

check the documentation Listening For Query Events https://laravel.com/docs/5.4/database

Ftoi started a new conversation Best Way To Get DOM Website ?

Hi , looking for a fast way to get info from online website i have more than 500 page and every page has a 60 article , i want to get name of author and email from this article means (60*500) just in one category i used before imple_html_dom.php it's work but take a long long time only for 3 page suggest me a way or library laravel working in this case , thanks

31 Jan
2 years ago

Ftoi left a reply on Send Sms Free From Laravel Application

@MWDeveloper the modem SMS i'm used *Wavecom" cost between 30$ - 50$ we can work with them a long time +3 years , the subscription in telecoms for get SMS cost 5$/month at orange 'new offers' that's all

30 Jan
2 years ago

Ftoi left a reply on Send Sms Free From Laravel Application

@MWDeveloper as the flag we are in same country the solution in you case it to buy a SMS Gateway and a SIM telephonic and working with a AT commads , the advantage of this way you have always a owner Gateway then SMS cost free in subscription , can you asking for more information bro ? check this : http://www.smssolutions.net/tutorials/gsm/sendsmsat/

16 Feb
3 years ago

Ftoi left a reply on Break Line In @Foreach

@MarkLL it's work maybe when you do #foreach with '@' it's give a spacing automatically either when you used in block

Ftoi left a reply on Clone A Laravel Project

@igor_talevski what about copy project and put them to other server

Ftoi left a reply on Break Line In @Foreach

@MarkLL i copy this code but give me error

syntax error, unexpected '<'

but when i breakline between @foreach and <?php if

@foreach ($users as $use)
<?php if ($use->ref) { echo 'U' . $use->id . '-' } ?>
@endforeach 

it's work but still with spacing between U15- U16

Ftoi left a reply on Break Line In @Foreach

@Snapey i tried with this before but not working if there is a condition @if
Give me error of
syntax error, unexpected 'if' (T_IF)
working only when we have a simple foreach
@jekinney i use #trim but with no change

15 Feb
3 years ago

Ftoi left a reply on Break Line In @Foreach

The is a example bro @jekinney

Ftoi started a new conversation Break Line In @Foreach

Can any méthode to get ouput of this Foreach looking like
U15-U11-U16
not
U15- U11- U16
without spacing
@foreach ($users as $use) @if($use->ref)U{{$use->id}}-@endif @endforeach