← prev | next →
ALISHAHI1401 2019-05-07 09:40:20
Hi every body
I need a database sample for course store, I mean it’s suppose to sell online courses
Tnx to every body
2019-05-07 12:31:23
Hi everybody..iam kindly requesting if someone can help me with an sql file that has all item categories of an online shopping store..for example electronics..kitchen ware..etc
2019-05-07 14:02:15
Urgent – I am looking for a vue developer who could help us. Time work load ~3h
If everything is solved fine, I would have further jobs
ldefra 2019-05-07 14:35:06
Do anyone know if laravel and mysql 5.7 support nested transaction?
mmosttaffaa 2019-05-07 15:25:00
2019-05-07 14:02:15
Urgent – I am looking for a vue developer who could help us. Time work load ~3h
If everything is solved fine, I would have further jobs
yes
luismaringuitar 2019-05-07 16:26:27
buen dia cgente como estan? una consulta, como haria para que en una unit test me lea el valor de un input y no se lo tenga que agregar de manera manual en la prueba, esto es porque no tengo manera de saber el valor que se ingresará
skys215 2019-05-07 16:39:35
Sorry, I can’t read Spanish
emtized 2019-05-07 16:39:50
skys215 2019-05-07 16:39:35
Sorry, I can’t read Spanish
so do i
luismaringuitar 2019-05-07 16:56:52
sorry, i forgot that the group was in english, i have others that are in spanish 😅
luismaringuitar 2019-05-07 16:59:04
i develop a unit test on laravel, but as i would in a unit test to read the value of an input and do not have to manually add in the test file, this is because i have no way of knowing the value to be entered in input type text on front
RdotDev 2019-05-07 19:14:40
2019-05-07 14:02:15
Urgent – I am looking for a vue developer who could help us. Time work load ~3h
If everything is solved fine, I would have further jobs
I am ready to help you.
RdotDev 2019-05-07 19:30:52
2019-05-07 07:18:56
any one with seo experience?
Yes
Kvn_makwana 2019-05-07 22:22:29
2019-05-07 14:02:15
Urgent – I am looking for a vue developer who could help us. Time work load ~3h
If everything is solved fine, I would have further jobs
Yes
praneet81 2019-05-08 17:06:18
praneet81 2019-05-08 17:06:27

Gives this result
praneet81 2019-05-08 17:07:45
praneet81 2019-05-08 17:07:49
praneet81 2019-05-08 17:07:53
How do i fix this?
praneet81 2019-05-08 17:08:54
praneet81 2019-05-08 17:06:27
Gives this result
It does show this as an object
skys215 2019-05-08 17:12:38
dd the galeries outside the for loop
Testuserid 2019-05-08 17:13:41
praneet81 2019-05-08 17:07:45
return $gallalery
praneet81 2019-05-08 17:15:17
I did that it returns the table attributes
praneet81 2019-05-08 17:16:17
https://github.com/Greg0/Lazer-Database/blob/master/docs/tutorial.md
Greg0/Lazer-Database –
GitHubPHP flat file database to store data with JSON. Contribute to Greg0/Lazer-Database development by creating an account on GitHub.
praneet81 2019-05-08 17:16:24
Check this code base you’ll get an idea
praneet81 2019-05-08 17:16:34
Specially under display it
DesolatorMagno 2019-05-08 17:18:28
praneet81 2019-05-08 17:07:45
Why you have a where there? if you are getting the galleries trough the relatinship?
praneet81 2019-05-08 17:18:56
DesolatorMagno 2019-05-08 17:18:28
Why you have a where there? if you are getting the galleries trough the relatinship?
I checked without where too same error
DesolatorMagno 2019-05-08 17:19:18
I guess but it still seem weird there.
DesolatorMagno 2019-05-08 17:19:50
Show that relationship, use tinker to play with it.
praneet81 2019-05-08 17:22:47
Well this isn’t a regular MySQL database
praneet81 2019-05-08 17:23:11
This is flat file storing datas as a json file
DesolatorMagno 2019-05-08 17:23:12
I am more used to see data there, what i can guess at first is that you are getting only a object and not a collection of object.
praneet81 2019-05-08 17:24:48
The package indicates i should get an array
DesolatorMagno 2019-05-08 17:24:52
praneet81 2019-05-08 17:23:11
This is flat file storing datas as a json file
Yes, but still you got it trough Laravel Model.
praneet81 2019-05-08 17:25:12
If it’s just an object $galleries->name should give me result it gives null
DesolatorMagno 2019-05-08 17:26:09
Hmmm, i think it should not give null but error
DesolatorMagno 2019-05-08 17:27:27
DesolatorMagno 2019-05-08 17:28:23

There is many thinks that could be happening there, but you gotta check 1 at time.
DesolatorMagno 2019-05-08 17:33:05
User::all()
IlluminateDatabaseEloquentCollection Object ( [items:protected] => Array ( [0] => AppUser Object
User::first()
AppUser Object ( [fillable:protected] => Array ( [0] => name [1]
praneet81 2019-05-08 18:36:24
DesolatorMagno 2019-05-08 17:33:05
User::all()
IlluminateDatabaseEloquentCollection Object ( [items:protected] => Array ( [0] => AppUser Object
User::first()
AppUser Object ( [fillable:protected] => Array ( [0] => name [1]
I’m not using laravel model bro
praneet81 2019-05-08 18:36:35
praneet81 2019-05-08 17:16:17
https://github.com/Greg0/Lazer-Database/blob/master/docs/tutorial.md
I’m using this package instead
DesolatorMagno 2019-05-08 18:50:37
Dude, i don’t know how else tell you, you could be using a excell spreadsheet for what i know but you can still do the same thing that i did right there, foreach need a array or object of object (dunno how to call it) or simply put, a type of data that can be iterate so just check if you are getting a “array” of object or just a object, looking at it to see if the error are diferent for each type.
DesolatorMagno 2019-05-08 18:51:17
You decided to use a Package for it so we can only use a general logic of what can be happening there, or maybe the package just hate you XD.
Vsfarooqkhan 2019-05-10 08:29:49
Farooq Khan:
Hi all,
I’m looking for a solution in voyager .
I love this admin panel..
Anyone here for immediate help?
RdotDev 2019-05-10 11:54:59
PM
KORANG 2019-05-10 13:39:22
Hi dears
How can create regular expression for Persian or … language?
Thank you
ransikoo 2019-05-11 06:03:40
how to create custom profile for all user in front
skys215 2019-05-11 06:10:13
custom profile?
2019-05-11 06:34:23
2019-05-07 14:02:15
Urgent – I am looking for a vue developer who could help us. Time work load ~3h
If everything is solved fine, I would have further jobs
am here
2019-05-11 06:42:13
praneet81 2019-05-08 17:06:18
U used two same name for different variables, make first one from $galleries to be $post_galleries ->first(), n second be reading as, $galleries = $post_galleries->where(post_id, $post_gallery->I’d)-get()
← prev | next →