Thank you! I will give this a shot, I was looking for the first option. I saw examples online on this but I was so lost on the fuction() within the query.
It's a standard URL, I do not know all the accepted file types. However I've used both JPG and PNG with no issues. Try putting them into /public_html/assets/**YOUR CHOICE AFTER THAT**. Try going to the image once you upload it there. If you can reach it, place that URL into the Image URL input within the ranks page.
Hey guys!
I wanted to pick your brains about possibly getting the pireps to display based on the pilots hubs. I'd like to have it so you can go to a hub and see the pireps its filled. I am unsure how to do this the clean way! I know I can perform the following
@if ($pirep->user->home_airport->icao == 'KCLT')
In doing it this way I lose any pagination features as it's just filtering through already gathered data.
Any thoughts would be appreciated!
I did make sure all fillable items were listed in that section. I am also using the $request->all(), I know I could probably do something like $request->except('_token'); ? Thanks!
Fixed! Thank you Now when I do it the correct way on the create.blade.php, I get this error Column not found: 1054 Unknown column '_token'. Should I do an except command on my insert?
{{ Form::model($staff, [
'route' => ['staff::admin.update', $staff->id],
'method' => 'patch',
'id' => 'staffForm'])
}}
I made it this now. Still isn't working, saying it is undefined. I also changed the admin.php line to show what you had put. Maybe it is an issue with the modules.
Ill take a closer look. I can't use:
{{ Form::model($airport, [
'route' => ['admin.airports.update', $airport->id],
'method' => 'patch',
'id' => 'airportForm'])
}}
In a module. When I replace the route it does not like the route. I've tried a ton of things to get it to work but can't figure it out.
Yea but it doesnt seem like the developer used the same format, and its driving me crazy how he got it to work lol
The first solution you stated is the way he is doing it but I cant get it to work!
Thanks! Do you happen to know a good way to insert into the database? I'm lost after the form submits and does it's checks... not sure where the actual insert sql command is! 🤪
Figured that out. But having an issue on finding where findWithoutFail functions are stored.