Ap3twe

Ap3twe

Member Since 1 Month Ago

Experience Points 5,250
Experience Level 2

4,750 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 37
Lessons
Completed
Best Reply Awards 0
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.

17 May
2 days ago

Ap3twe left a reply on What Is The Best Approach For Data Visibility Restriction? (guest,members,subscribers)

@jlrdw How can I contact you? I wanna discuss some little gig with you

Ap3twe left a reply on Laracast Possibility Of Adding Friend

@JLRDW - I get you. What about in case we wanna hire or collaborate with someone. How can we shoot the person a message?

16 May
3 days ago

Ap3twe started a new conversation Laracast Possibility Of Adding Friend

It will be useful if we can add users as friends on laracast. What do yall think?

Ap3twe left a reply on Making A Route Public For Anyone To View

I fixed it.. I will test it for days and confirm it guys.abort_unless(auth()->user()->isAdmin || $project->user_id == auth()->id(), 403); Thank you all. I appriciate your help

Ap3twe left a reply on Making A Route Public For Anyone To View

How do I give access to the admin too? How do I write the condition by adding is_admin?

Ap3twe left a reply on Making A Route Public For Anyone To View

@SNAPEY - Sorry it is working when I changed abort_if(! $project->user_id == auth()->id(), 403); to ``abort_if( $project->user_id !== auth()->id(), 403);```

Ap3twe left a reply on Making A Route Public For Anyone To View

@SNAPEY - I tried your solution. The route does not abort. I dump it and it returns null

$bbd  =  abort_if(! $project->user_id == auth()->id(), 403);
        dd($bbd);

Ap3twe left a reply on Making A Route Public For Anyone To View

@CRONIX - I posted all the controllers

Ap3twe left a reply on Making A Route Public For Anyone To View

This is my middleware

<?php

namespace App\Http\Middleware;
use App\Project;

use Closure;

class FinalForm
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */


    public function handle($request, Closure $next)
    {

        // $project = Project::where('user_id', auth()->id())->get();
        $project = Project::find('id');
        $user_id = $project->user_id;
        if($user_id != auth()->user()->id){
            return redirect('/')->with('error', 'You are not able to see this page');

        }


        return $next($request);
    }
}

Controller

    // Published page
    public function published(project $project){
        $project = Project::where('user_id', auth()->id())->find(session('created_id'));
        return view ('/smiledesign.published', compact('project'));

    }

    public function doctorfinalform(Project $project, request $request){

        // $this->authorize('doctorfinalform', $project);

        return view('smiledesign.doctorfinalform', compact('project'));
    }

Route

Route::get('/smiledesign/{project}/doctorfinalform', '[email protected]')->middleware('finalForm');

Ap3twe left a reply on Making A Route Public For Anyone To View

@CRONIX - I want it to be dynamic. Assigning 4 is hard coded. I want to block other users from seeing the form.

Ap3twe left a reply on Making A Route Public For Anyone To View

@JLRDW - I appreciate. I am learning

Ap3twe left a reply on Making A Route Public For Anyone To View

@CRONIX - Replacing the string with integer throws an error Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP)

Ap3twe left a reply on Making A Route Public For Anyone To View

I get error Trying to get property 'user_id' of non-object

    public function handle($request, Closure $next)
    {
 
        $project = Project::find('id');
        $user_id = $project->user_id;
        if($user_id != auth()->user()->id){
            return redirect('/')->with('error', 'You are not able to see this page');
 
        }
 
 
        return $next($request);
    }
}

Ap3twe left a reply on Making A Route Public For Anyone To View

@SNAPEY - All doctors are protected. The problem I have is I am taking the form submitted by the doctor and updating it with new contents and sending it back to him. That makes it that the route is coming from protected admin and then releasing access back to the doctor. If I release access as public routes, anybody can see each other project. I am gonna protect it with the suggestion from @jlrdw

15 May
4 days ago

Ap3twe left a reply on Making A Route Public For Anyone To View

@JLRDW - I created a middleware. Yet all users can see each other project. What condition do I have to provide?

Route::get('/smiledesign/{project}/doctorfinalform', '[email protected]')->middleware('finalForm');

<?php

namespace App\Http\Middleware;

use Closure;

class FinalForm
{
    
    public function handle($request, Closure $next)
    {

        if(auth()->user()->id){
           
        }
        return $next($request);
    }
}

Ap3twe left a reply on Making A Route Public For Anyone To View

@SNAPEY - @snapey That is what I was thinking. I have to make a decision to leave that out. Security is important. I will limit it to the doctor

Ap3twe left a reply on Making A Route Public For Anyone To View

@ I will give it a try

Ap3twe left a reply on Making A Route Public For Anyone To View

@I need the authentication in the ```__contruct()`` or else all the pages will be public. I want only the doctorfinalform to be public

Ap3twe started a new conversation Making A Route Public For Anyone To View

I want to allow a route to be public for anyone who has the URL to view. It is coming from protected routes from the admin. The admin creates the pages and the final page we would send it to a doctor who will also send it to the patients. How can I create a public URL from Route::get('/smiledesign/{project}/doctorfinalform', '[email protected]');

The view is like this http://blog.test/smiledesign/4/doctorfinalform

Here are my routes

  Auth::routes();

// Users Routes
Route::get('/home', '[email protected]')->name('home');
Route::get('/smiledesign/create', '[email protected]');
Route::post('/store', '[email protected]');
Route::get('/smiledesign/{project}/show', '[email protected]');
Route::get('/smiledesign/success', '[email protected]');
Route::get('/smiledesign/cases', '[email protected]');

// Doctor final form
Route::get('/smiledesign/{project}/doctorfinalform', '[email protected]');

// Admin redirect to dashboard
Route::get('/admin', '[email protected]')->middleware('admin');

// Admin Routes
Route::middleware('forStaff')->group(function () {
Route::get('/smiledesign/adminforms', '[email protected]');
Route::get('/smiledesign/{project}/records', '[email protected]');
Route::patch('/smiledesign/{project}', '[email protected]');
Route::get('/smiledesign/{project}/edit', '[email protected]');
Route::delete('/smiledesign/{project}', '[email protected]');
Route::get('/smiledesign/{project}/userproject', '[email protected]');
Route::get('/smiledesign/published', '[email protected]');
});

 // Published page
    public function published(project $project){
        $project = Project::where('user_id', auth()->id())->find(session('created_id'));
        return view ('/smiledesign.published', compact('project'));

    }

    public function doctorfinalform(Project $project, request $request){

        return view('smiledesign.doctorfinalform', compact('project'));
    }
14 May
5 days ago

Ap3twe started a new conversation Authentication External API As A Middleware

Hey, I want to authenticate users with external API before allowing the request to go through the laravel auth. Users are stored in our CPM system and we want to limit other users from logging into our app. The API is written in WSDL. An example was provided with soap. How do I implement it laravel?

function _getCustomerInfo($user,$pass){
        /* Initialize webservice with your WSDL */
        $client = new SoapClient("https://bbcpmws.example.com:099/Token.asmx?WSDL");
        
        $params = array(
            'APIUserID' => '{id}',
            'APIPassword' => '{password}',
            'webUsername' => $user,
            'webPassword' => $pass,
        );
        try {
            $responsetest = $client->getCustomerInfo($params);
            
        } catch(SoapFault $fault) {
            return False;
        }
        
         $_SESSION['customer_info'] = $responsetest;
        
        return True;
    }

Ap3twe started a new conversation DataTables Ordering & Serching

I am using datatables in Laravel. The values are inserted with dynamic blade syntax. When I click ordering, it does not sort. Searching returns no match even though I provide the correct values. How do I solve this? NB: Looking in the chrome console, I see the table body changes state.

       //Table cases javascritpt
              $(document).ready( function () {
              $('#table_id').DataTable();

               } );
               $.extend( $.fn.dataTable.defaults, {

                 ordering: true,
                 searching:true,
                 select: true,
                 "order": [[ 0, 'desc' ], [ 1, 'desc' ], [2, 'desc'], [3, 'desc']]
              } );
 <table class="table table-striped table-bordered" id="table_id">
            <thead>
                    <tr>
                            <th>Case Number</th>
                            <th>Case Form</th>
                            <th>Patient Name</th>
                            <th>Date Created</th>
                            <th>Status</th>
                    </tr>
            </thead>
            @foreach ($project as $project)
            <tbody>
              
             <tr>
                
                 <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->case_number}}</a></td>
                
                 @if ($project->services0)
                 <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->services0}}</a></td> 
                 @elseif ($project->services1)
                 <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->services1}}</a></td> 
                 @elseif ($project->services2)
                 {{-- <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->services2 . '  '  . $project->mockup0}}</a></td>  --}}
                 <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->services2 . '  '  . $project->mockup0 . ' ' . $project->mockup1}}</a></td> 

                 @endif
                 <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->first_name . ' ' . $project->last_name}}</a></td>
                 <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->created_at}}</a></td>
                 <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->concerns}}</a></td> 
             </tr>

         </tbody>
         @endforeach

     </table>
01 May
2 weeks ago

Ap3twe left a reply on How Do You Connect To The Mysql Database Using Valet?

@TYKUS - Oh I see. So I have to have myqsl database running. Xampp can do the job. Thanks

Ap3twe started a new conversation How Do You Connect To The Mysql Database Using Valet?

In the laravel documentation, it says " you can then connect to the database at 127.0.0.1 using the root username and an empty string for the password" 127.0.0.1 in the browser is not working. Do I have to change the host file as we do in windows?

Ap3twe left a reply on Laravel Valet Database Configuration - Migrate

Dude that is homestead database posted.

26 Apr
3 weeks ago

Ap3twe left a reply on Image Intervention Changing File Upload To Multiple Files

I am getting an error Invalid argument supplied for foreach(). On the datatype in the DB, I am using string $table->string('lab_quote[]')->nullable();

Ap3twe left a reply on Image Intervention Changing File Upload To Multiple Files

@SERGIU17 - So the variable $file. Where is it coming from?

Ap3twe started a new conversation Image Intervention Changing File Upload To Multiple Files

I am using Intervention to upload files. Now I want to have the files upload as an array of files.(multiple) How do I go about it? I tried lab_quote[] but is not working. Or is it best practice to have each file as a separate column in the db?

 if ($request->hasFile('lab_quote')){
        // get file Name
        $quotenameWithExt = $request->file('lab_quote')->getClientOriginalName();
        //The image path and name
        $quotefilename = pathinfo($quotenameWithExt, PATHINFO_FILENAME);
        // get the exxtension
        $quoteextension = $request->file('lab_quote')->getClientOriginalExtension();
        // Name append a time stamp
        $labquotefileNameToStore = $quotefilename.'_' .time(). '.' . $quoteextension;
        // Move the file to the folder
        // $stlpath = $request->file('stl_image')->storeAs('public/uploads', $stlfileNameToStore);
        $qtlpath = $request->file('lab_quote')->storeAs('public/uploads/thumbnails', $labquotefileNameToStore);
        // Resize
        $quote = public_path('storage/uploads/thumbnails'. $labquotefileNameToStore);
        $qto = Image::make($_FILES['lab_quote']['tmp_name']);
        $qto->resize('443','313');
        $qto->save($quote);
        
    }
$project->fill(['lab_quote' => $labquotefileNameToStore]);
project->save();
23 Apr
3 weeks ago

Ap3twe left a reply on Updating Database Using UpdateOrCreate Method

@SNAPEY - I tried the first example before, It gave me an error. It throws undefined variable. I will utilize the second example. I think is clean. My problem was trying to use the create method but was giving me user constraint error. So I was reading the docs to find alternative, I thought the updateOrCreate will insert the values if it doesn't have a record in the fields. What is the use of the updateOrCreate Method?

Ap3twe left a reply on About Frameworks

@SABEELK - It is a waste of time. I think if the project is just a content website nothing more, go with WordPress. Work for money as time is the essence. I won't use laravel to build a simple website. I am new to Laravel after years of Front-End WordPress, React and Node. I used to hate PHP but Laravel has got me motivated.

Ap3twe left a reply on Updating Database Using UpdateOrCreate Method

I solved it. Anybody in the same situation, I did not know there is a fill method. In the laravel docs https://laravel.com/docs/5.8/eloquent#inserts it is hidden there lol

$project->fill(['labphotofiles'=> $labphotofileNameToStore]);
$project->fill(['labstlfiles' => $labphotofileNameToStore]);
$project->save();

Ap3twe left a reply on About Frameworks

It all depends on the task and needs of the project. If you working with clients like a small business that they will update their own content, go with WordPress. Laravel is for building applications that the client will never touch the code or will not even bother to fix little things. It is a framework that you implement the logic while Wordpress is all just blocks for you to build a house.

Ap3twe started a new conversation Updating Database Using UpdateOrCreate Method

Hey, am inserting images to a database. I tried updateOrCreate but It replaces every record in the database with the new data. I do not want to update just insert data to tables I assigned null. I tried two methods. one work perfectly I get the file temp-name in the database, but for me to get the file name, I triedupdateOrCreate, and create method but it deletes all records in the schema.

This deletes all my records

 $project = Project::updateOrCreate(array_merge(request([  'labphotofiles', 'labstlfiles', 'user_id',
      
         ]),
        //  bottom I have used array_merge to store the user id
         [
         'user_id'=>auth()->id(),
         'labphotofiles' => $labphotofileNameToStore,
         'labstlfiles' => $labstlfileNameToStore,
          ]));

Another method I used is save method. This one works, adds the data but how can I attach the filename to it?

$project->labphotofiles = request('labphotofiles');
$project->labstlfiles = request('labstlfiles');
 $project->save();
22 Apr
3 weeks ago

Ap3twe left a reply on Images Not Saving To Path When I Update My Database?

Guys, I fixed the problem. The problem was Intervention Image. I was getting the error

"file_exists() expects parameter 1 to be a valid path, string given"

Ap3twe left a reply on Images Not Saving To Path When I Update My Database?

@AURAWINDSURFING - The thing is am uploading new files to fields on the database. The files name registers correctly to the database but the files are not stored in my upload storage link folder. The challenge I am facing is the files are coming from another form from the initial form the user submitted(Those are working correctly and saved). So in other word am updating the database but not replacing values in the database fields just adding new fields.

These fields I assigned null so I can update later when the user has completed some steps. Here is dump dd($request)

 #handler: FileSessionHandler {#328 ▼
      #files: Filesystem {#124}
      #path: "C:\laravel\test\storage\framework/sessions"
      #minutes: "120"
    }
    #started: true

Why is the file path pointing to "framework sessions"?

Ap3twe left a reply on Images Not Saving To Path When I Update My Database?

@TRAY2 - The thing is am uploading new files to fields on the database. The files name registers correctly to the database but the files are not stored in my upload storage link folder. The challenge I am facing is the files are coming from another form from the initial form the user submitted(Those are working correctly and saved). So in other word am updating the database but not replacing values in the database fields just adding new fields.

These fields I assigned null so I can update later when the user has completed some steps. Here is dump dd($request)

 #handler: FileSessionHandler {#328 ▼
      #files: Filesystem {#124}
      #path: "C:\laravel\test\storage\framework/sessions"
      #minutes: "120"
    }
    #started: true

Why is the file path pointing to "framework sessions"?

16 Apr
1 month ago

Ap3twe left a reply on Images Not Saving To Path When I Update My Database?

@AURAWINDSURFING - I have a storage link working. In the store endpoint. Everything works. Just am updating the table with new image field and is not storing to the folder

15 Apr
1 month ago

Ap3twe started a new conversation Updating A Database Table By Adding New Fields For Image?

My database has images stored. I wanna add a new field with an image. All my updates are working correctly apart from images. I am updating the table inserting an image. When I hit the endpoint, I get the values in the database but the file is not saved in the folder. I will show you how I tried none is working. NB: Saving images to the database I have a working method for adding and retrieving it. The problem is adding a field datatype image to an already created database. Thank you

1 method. I get the name of the files in the database but the path is not in the folder

// Update controller
 public function update(project $project, request $request){

        if ($request->hasFile('lab_quote')){
            // get file Name
            $quotenameWithExt = $request->file('lab_quote')->getClientOriginalName();
            //The image path and name
            $quotefilename = pathinfo($quotenameWithExt, PATHINFO_FILENAME);
             // get the exxtension
            $quoteextension = $request->file('lab_quote')->getClientOriginalExtension();
            // Name append a time stamp
            $labquotefileNameToStore = $quotefilename.'_' .time(). '.' . $quoteextension;
            // Move the file to the folder
            // $stlpath = $request->file('stl_image')->storeAs('public/uploads', $stlfileNameToStore);
            $qtlpath = $request->file('lab_quote')->storeAs('public/uploads/thumbnails', $labquotefileNameToStore);
            // Resize
            $quote = public_path('storage/uploads/thumbnails'. $labquotefileNameToStore);
            $qto = Image::make($_FILES['lab_quote']['tmp_name']);
            $qto->resize('443','313');
            $qto->save($quote);

        }
$project->lab_quote = request('lab_quote');
 $project->save();
10 Apr
1 month ago

Ap3twe left a reply on How Do I Pass 2 Arguments In Foreach ?

@RYANMORTIER - I have achieved that with the application working perfectly. What I am looking for is admin to see each user record projects listed. Strangely I have also achieved looking at each user records one by one. What am looking for is to see all the user records under one page. Now What am encountering is I see all users project no matter the user I click.

Step by step

The admin all users page: all the users are listed perfectly @extends('layout') @section('content')

 <h1 class="text-center m-4"> 
   Doctors Cases  
 </h1>
 <table class="table">
        <thead>
                <tr>
                        <th>Dr Name</th>
                        <th>User Id</th>
                        <th>Email</th>
                </tr>
        </thead>
        <tbody>
   @foreach ($users as $user)
         <tr>
             <td> <a href="/smiledesign/{{$user->id}}/records">{{$user->name}}</a></td>
             <td> <a href="/smiledesign/{{$user->id}}/records">{{$user->id}}</a></td>
             <td> <a href="/smiledesign/{{$user->id}}/records">{{$user->email}}</a></td>
         </tr>

     </tbody>
     @endforeach
 </table>

@endsection


Step 2 The record of each user but gives me all users inrespective of the user I clicks. That is all users projects are listed in each record.

example URL: http://127.0.0.1:8000/smiledesign/1/records
http://127.0.0.1:8000/smiledesign/2/records

 <table class="table table-striped table-bordered" id="table_id">
        <thead>
                <tr>
                        <th>Case Number</th>
                        <th>Case Form</th>
                        <th>Patient Name</th>
                        <th>Date Created</th>
                        <th>Status</th>
                </tr>
        </thead>
        @foreach ($project as $project)
        <tbody>
          
         <tr>
            
             <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->case_number}}</a></td>
            
             @if ($project->services0)
             <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->services0}}</a></td> 
             @elseif ($project->services1)
             <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->services1}}</a></td> 
             @elseif ($project->services2)
             {{-- <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->services2 . '  '  . $project->mockup0}}</a></td>  --}}
             <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->services2 . '  '  . $project->mockup0 . ' ' . $project->mockup1}}</a></td> 

             @endif
             <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->first_name . ' ' . $project->last_name}}</a></td>
             <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->created_at}}</a></td>
             <td> <a href="/smiledesign/{{$project->id}}/userproject">{{$project->concerns}}</a></td> 
         </tr>

     </tbody>
     @endforeach

 </table>


Step 3 It works perfectly from here going When I click a user, I get the correct project. I just want to separate each

Ap3twe left a reply on How Do I Pass 2 Arguments In Foreach ?

@SNAPEY - I am studying along with the forum. I don't think there is a way to achieve expertise without asking questions. If I use find() or first() that means I know the collection I want. What I want to achieve is different

Ap3twe left a reply on How Do I Pass 2 Arguments In Foreach ?

I think am sending every user and projects here. The problem lay here

  public function records(user $users, project $project){
        $project = project::get();
        // $project = auth()->user()->projects;
        $users = user::get();
        dd($project);
        
        return view ('/smiledesign/records' , compact( 'users','project'));
    }

Ap3twe left a reply on How Do I Pass 2 Arguments In Foreach ?

@RYANMORTIER - I get this error

Invalid argument supplied for foreach() (View: C:\laravel\test\resources\views\smiledesign\records.blade.php)

When I change the $user to $users-project , I get

Property [project] does not exist on this collection instance. (View: C:\laravel\test\resources\views\smiledesign\records.blade.php)

Ap3twe left a reply on How Do I Pass 2 Arguments In Foreach ?

@KEL_ - How do I get that particular user?

Ap3twe left a reply on How Do I Pass 2 Arguments In Foreach ?

@KEL_ - The thing is I want only to see one user records. But I get all users record . This is my controller. The admin controller it where am sending the data. I am accessing it as an admin

    public function adminforms (Project $project){
        $users = User::get();
        // $project = Project::where('user_id', auth()->id())->get();
       
     return view('smiledesign.adminforms', compact('users', 'project'));
 }
    // Records
    public function records(user $users, project $project){
        $project = project::get();
        // $project = auth()->user()->projects;
        $users = user::get();
        
        
        return view ('/smiledesign/records' , compact( 'users','project'));
    }

Ap3twe left a reply on How Do I Pass 2 Arguments In Foreach ?

@KEL_ - Not really the spelling. I made the spelling to be like that. I want adding for each $users as $users I get error

Ap3twe started a new conversation How Can I Make Only One Route Public?

Simple as an inline in the web.php

09 Apr
1 month ago

Ap3twe left a reply on What Method Can I Go About This Code - Sending Radio Value And Image To Database?

@SNAPEY - My first choice not to save the image but to make the relationship between the value and image. I am saving the value correctly and getting it back. Now what I want is get the show the image corresponding to the value