Why it get only first?

|
Pro 2020-01-30 16:11:23
https://laravel.com/docs/6.x/eloquent-mutators
kuzmich321 2020-01-30 17:20:53
rebory 2020-01-30 13:56:39

https://javascript.info/ninja-code

Ninja codejavascript.info
Patricklab 2020-01-30 17:33:42
Ankur Patel 2020-01-28 22:12:14
Any one give me idea to develop any project in laravel
Just for practice purposes

can give u some ideas inbox if interested

PHP Begginer 2020-01-30 17:45:47
Hi Guys , How can i re write this piece of htmlcollection code in simple htm {!! Form::select(‘roles[]’, $roles,[], array(‘class’ => ‘form-control’,’multiple’)) !!} ,I am not good with the htmcollective package
rijisoft 2020-01-30 18:03:29
PHP Begginer 2020-01-30 17:45:47
Hi Guys , How can i re write this piece of htmlcollection code in simple htm {!! Form::select(‘roles[]’, $roles,[], array(‘class’ => ‘form-control’,’multiple’)) !!} ,I am not good with the htmcollective package

Solution1
Google it : how to write a select in HTML
Then
@Foreach on $roles for dynamic options for select

rijisoft 2020-01-30 18:03:41
😂😂😂 absolutely
rijisoft 2020-01-30 18:05:49
Solution2
rijisoft 2020-01-30 18:06:04
But I prefer for you 😉 use solution 1😂
PHP Begginer 2020-01-30 19:19:25
Thanks all
skys215 2020-01-30 19:50:33
Sorry, English group
skys215 2020-01-30 20:00:19
It’s ok
shrirangjoshi 2020-01-30 22:25:58
2020-01-30 09:58:57
Please how will I change my admin email From consoles
In laravel

U can use tinker to fire DB query from command line.

sessioneer 2020-01-31 06:58:17
MySQL is refusing to start, when I checked the Logs. I got this
“Can’t start server: Bind on TCP/IP port. Got error: 10013: An attempt was made to access a socket in a way forbidden by its access permissions. Do you already have another mysqld server running on port: 3306 ?” I dont have any service running on thart. Anyone experience this and how did you resolve it
kuzmich321 2020-01-31 08:21:29
I met that issue somehow with another service
kuzmich321 2020-01-31 08:21:52
Just restarted pc and it was gone
rijisoft 2020-01-31 11:04:03
Hi anyone can help ?

I face with an unsatable problem

For 10 minutes everything is okay and all get , post request work but suddenly

All session logout the post request give this error

The page has expired due to inactivity. 

Please refresh and try again

Then after 5 or 10 minutes this error exist but after that everything okay and after 3or 5 minutes everything is okay and we can login to site but after some minutes agian

Every post requesta give

The page has expired due to inactivity. 

Please refresh and try again

PHP Begginer 2020-01-31 11:55:19
Goodmorning , I am running some problem when I run npm run dev into my application. Can someone assist please? error in ./resources/assets/sass/app.scss
ERROR in ./resources/assets/sass/responsive.scss
rebory 2020-01-31 13:50:04
laravel_discuss-25562.jpg
this function in my contact model
rebory 2020-01-31 13:51:03
and i access in another model this like
rebory 2020-01-31 13:51:05
laravel_discuss-25564.jpg

rebory 2020-01-31 13:51:59
there is multiple records
rebory 2020-01-31 13:52:02
laravel_discuss-25566.jpg

rebory 2020-01-31 13:52:51
laravel_discuss-25567.jpg
but browser output is
rebory 2020-01-31 13:53:47
anybuddy tell me where i wrong
rebory 2020-01-31 13:56:43
why it get only first?
rebory 2020-01-31 14:42:03
Pluck method already get all
rebory 2020-01-31 14:42:08
Records
rebory 2020-01-31 15:06:05
Ok
Rajen Trivedi 2020-01-31 15:45:56
I m also working on similar project…

My project is about milk delivery system.

karabayyazilim 2020-01-31 19:22:24
How do I automatically translate my pages with google translate
2020-01-31 19:27:33
PHP professional programmer needed urgently msg me if intrested
. 2020-01-31 20:45:36
2020-01-31 19:27:33
PHP professional programmer needed urgently msg me if intrested

talk to me

2020-01-31 20:46:02
Send me d direct msg
2020-01-31 21:06:34
Anyone who speaks Japanese or Thailand in the group with professional php knowledge, message me right now. Thank you
rebory 2020-01-31 22:20:10
not working for me
rebory 2020-01-31 22:33:25
laravel_discuss-25591.jpg

TDarkCoder 2020-01-31 22:40:17
use select( [ ] ) instead
rebory 2020-01-31 22:41:06
any example pls
TDarkCoder 2020-01-31 22:41:21
Do you want to get name and mobile_number?
rebory 2020-01-31 22:42:30
i want to get all records like 1234567890 =>’name1′, 1234567890 =>’name2′
rebory 2020-01-31 22:42:40
TDarkCoder 2020-01-31 22:41:21
Do you want to get name and mobile_number?

yes

TDarkCoder 2020-01-31 22:42:59
Contact::select(‘name’, ‘mobile_number’)->get()
TDarkCoder 2020-01-31 22:43:01
Try this
rebory 2020-01-31 22:45:53
TDarkCoder 2020-01-31 22:42:59
Contact::select(‘name’, ‘mobile_number’)->get()

i’m talk about pluck()

rebory 2020-01-31 22:46:10
means getting key and value for dropdown
TDarkCoder 2020-01-31 22:46:39
So you want to get model like
[
‘mobile_number’ => ‘name’,
‘mobile_number’ => ‘name’,
]
rebory 2020-01-31 22:46:45
TDarkCoder 2020-01-31 22:42:59
Contact::select(‘name’, ‘mobile_number’)->get()

.output

rebory 2020-01-31 22:46:49
laravel_discuss-25604.jpg

TDarkCoder 2020-01-31 22:46:54
TDarkCoder 2020-01-31 22:46:39
So you want to get model like
[
‘mobile_number’ => ‘name’,
‘mobile_number’ => ‘name’,
]

Like this?

rebory 2020-01-31 22:48:03
TDarkCoder 2020-01-31 22:46:39
So you want to get model like
[
‘mobile_number’ => ‘name’,
‘mobile_number’ => ‘name’,
]

yes

|