β prev | next β
etekumoses 2022-07-30 12:58:27
Web Developer 2022-07-30 12:57:03
Hey team i am trying to implement this logic public function login()
{
$checkstatus = AdminSetting::where(key’, ‘status’)->first();
if($checkstatus->value == “active”){
return view(‘voter-views.auth.login’);
}else{
return view(‘voter-views.counter’);
}
}
hhaha
etekumoses 2022-07-30 12:58:37
this worked haha
etekumoses 2022-07-30 12:59:28
i have been struggling man thanks
etekumoses 2022-07-30 13:00:13
i would like to know do i have to create a nother route for this case cause right now it says auth/login even on false
etekumoses 2022-07-30 13:20:36
etekumoses 2022-07-30 13:20:36
etekumoses 2022-07-30 13:20:36
etekumoses 2022-07-30 13:20:36
etekumoses 2022-07-30 13:20:49
i would like to print out a table of results but i see it sonly atakes one position let share the ss and you see
etekumoses 2022-07-30 13:21:18
wondering why it only prints 1 position (president yet they are all in one table)
Anand Tujare 2022-07-30 13:56:23
etekumoses 2022-07-30 13:21:18
wondering why it only prints 1 position (president yet they are all in one table)
Please elaborate…
Anand Tujare 2022-07-30 13:57:13
etekumoses 2022-07-30 13:20:36
This has a foreach for positions…
Anand Tujare 2022-07-30 13:57:27
Hence it’s taking one position at a time..
etekumoses 2022-07-30 14:04:21
Anand Tujare 2022-07-30 13:57:27
Hence it’s taking one position at a time..
Yeah but itβs one table so I would expect it to print
etekumoses 2022-07-30 14:05:14
Anand Tujare 2022-07-30 13:57:13
This has a foreach for positions…
One table with multiple data
etekumoses 2022-07-30 14:37:12
Anand Tujare 2022-07-30 13:56:23
Please elaborate…
i have fixed it i had placed a foreach outside the table so it would only print the first position data
etekumoses 2022-07-30 14:37:25
Anand Tujare 2022-07-30 13:57:27
Hence it’s taking one position at a time..
true
etekumoses 2022-07-30 14:37:36
thanks a lot for the clarification
JFaith 2022-07-30 14:50:31
Hello, please I’m new here I want to start learning laravel, I need help
Weatherman12 2022-07-30 17:09:53
Anyone here hack AWS ses smtp or twilio?
DesolatorMagno 2022-07-30 17:15:01
etekumoses 2022-07-30 12:32:50
I am not getting it well Reny
What is in the left is not the same thing that is on the right.
Mayank_Rathod 2022-07-30 17:24:16
Need training for react … Any availability???
Redvan55 2022-07-30 17:34:54

hi , i want add condition just for subscribe translations table ((‘locale’, ‘=’, app()->getLocale());) ?!!
DesolatorMagno 2022-07-30 17:38:25
just add a where.
Redvan55 2022-07-30 17:51:25
DesolatorMagno 2022-07-30 17:38:25
just add a where.
After join?
DesolatorMagno 2022-07-30 17:52:20
yes
Redvan55 2022-07-30 17:56:34
DesolatorMagno 2022-07-30 17:52:20
yes
The data is not returned
DesolatorMagno 2022-07-30 17:57:55
Are you sure about the last join? that query was returning values?
Redvan55 2022-07-30 18:07:10
DesolatorMagno 2022-07-30 17:57:55
Are you sure about the last join? that query was returning values?
yes without condition is returend
Redvan55 2022-07-30 18:08:48
DesolatorMagno 2022-07-30 17:57:55
Are you sure about the last join? that query was returning values?

but locale is ar ?!
DesolatorMagno 2022-07-30 18:16:52
->where(‘table.field’, ‘value’)
i did like 4 queries using join and where yesterday.
anujrock1 2022-07-30 18:33:32
DesolatorMagno 2022-07-30 18:16:52
->where(‘table.field’, ‘value’)
i did like 4 queries using join and where yesterday.
Yes it works.. I have also used like this
Akashgautam893 2022-07-30 18:42:28
Hello, please anyone help me
How to store dummy images in Product table using laravel using seeder and faker, and also store dummy images file in public->images folder
Daniel 2022-07-30 18:44:10
Hello
Can anyone install php8 on ubuntu 21.04?
Laradev 2022-07-30 18:47:43
Akashgautam893 2022-07-30 18:42:28
Hello, please anyone help me
How to store dummy images in Product table using laravel using seeder and faker, and also store dummy images file in public->images folder

I use this when I want to store on database and public folder π
Jamasun 2022-07-30 18:51:00
Anybody who have experience on laravel??
Akashgautam893 2022-07-30 18:51:25
Laradev 2022-07-30 18:47:43
I use this when I want to store on database and public folder π
Sir i have already used this method but it’s not working in seeder file
Laradev 2022-07-30 18:52:18
Akashgautam893 2022-07-30 18:51:25
Sir i have already used this method but it’s not working in seeder file
Never seeded a photo before, once you crack that please share
Laradev 2022-07-30 18:52:32
Tag me
DesolatorMagno 2022-07-30 18:53:56
Look in the faker documentation, there is a section for file (including photo)
Akashgautam893 2022-07-30 18:57:34
DesolatorMagno 2022-07-30 18:53:56
Look in the faker documentation, there is a section for file (including photo)

Found zero results in database testing documentation
DesolatorMagno 2022-07-30 18:58:10
FAKER, documentation, not Laravel.
Akashgautam893 2022-07-30 18:58:34

Also Photo found zero
Akashgautam893 2022-07-30 18:58:55
DesolatorMagno 2022-07-30 18:58:10
FAKER, documentation, not Laravel.
Ok
anujrock1 2022-07-30 19:03:07
Akashgautam893 2022-07-30 18:58:34
Also Photo found zero
https://stackoverflow.com/questions/43791274/how-to-generate-dummy-images-in-php-laravel
Check here once
How to generate dummy images in PHP Laravel? –
Stack OverflowI want to make dummy data on my home page, including showing dummy images. How can I generate images?
Laradev 2022-07-30 19:06:43
anujrock1 2022-07-30 19:03:07
https://stackoverflow.com/questions/43791274/how-to-generate-dummy-images-in-php-laravel
Check here once
Thank you, just learnt something new
Akashgautam893 2022-07-30 19:10:30

image not store in DB and not inserted images folder
Akashgautam893 2022-07-30 19:11:21
other fake data stored in DB
Akashgautam893 2022-07-30 19:14:19
anujrock1 2022-07-30 19:15:20
Akashgautam893 2022-07-30 19:10:30
image not store in DB and not inserted images folder
$faker->image(‘public/images, 640, 480);
β prev | next β