…. 2021-01-03 11:38:53
Php with mysql
…. 2021-01-03 11:39:04
Only
Bhavyakumar Panchotiya 2021-01-03 11:59:47
…. 2021-01-03 11:39:04
Only
i think you learn PHP yet
…. 2021-01-03 12:02:00
I learn flutter but php for back end
…. 2021-01-03 12:02:15
For saving data in mysql
Bhavyakumar Panchotiya 2021-01-03 12:02:17
ok
Bhavyakumar Panchotiya 2021-01-03 12:03:39
where are you from and which state ?
Bhavyakumar Panchotiya 2021-01-03 13:20:26

hey guys how to print two values $name and $color plz help me
hypernxf 2021-01-03 13:25:04
print_r($apple->get_name());
Bhavyakumar Panchotiya 2021-01-03 13:35:36
Thank you 🙂 now it is work perfectly !!
Waxikevin 2021-01-03 13:45:00
Hey …i would like to store images or files for every client in their specific directory where its distingushed using their name or id
Currently i am using this as my folder
Currently i am using this as my folder
Waxikevin 2021-01-03 13:45:20

Jomitz 2021-01-03 13:52:00
Waxikevin 2021-01-03 13:45:00
Hey …i would like to store images or files for every client in their specific directory where its distingushed using their name or id
Currently i am using this as my folder
Currently i am using this as my folder
So whats the issue?
Waxikevin 2021-01-03 14:08:27
Okay i wanted every user to have their own directory. Probably after profile/id
Waxikevin 2021-01-03 14:09:11
Is this acheiveable?
Jomitz 2021-01-03 14:09:39
Yes
Jomitz 2021-01-03 14:11:38
Create a filename variable with the folder name such as using the id and name as folder name or you could use any unique field for filder name like $folderName=$user->id.$user->name;
Jomitz 2021-01-03 14:12:40
Then attch this name to the path to where you are storing it
Jomitz 2021-01-03 14:13:24
Then store this path in the user table such as a filed called folderPath
Waxikevin 2021-01-03 14:13:27
Jomitz 2021-01-03 14:11:38
Create a filename variable with the folder name such as using the id and name as folder name or you could use any unique field for filder name like $folderName=$user->id.$user->name;
So the image path would be
Uploads/img/profiles/1/imagename.jpeg
Jomitz 2021-01-03 14:14:12
Waxikevin 2021-01-03 14:13:27
So the image path would be
Uploads/img/profiles/1/imagename.jpeg
Here i have used both id and name you can use only id it doesnt matter as long as its unique
Jomitz 2021-01-03 14:14:37
Then you can have the path like this for that particular id user
Waxikevin 2021-01-03 14:15:27
Jomitz 2021-01-03 14:14:12
Here i have used both id and name you can use only id it doesnt matter as long as its unique
Actually i wanted something unique, that’s the id, anyway let me have a look then will respond
Jomitz 2021-01-03 14:16:40
You can do public_path(“uploads/“.$user->id.”/image_name”)
2021-01-03 14:18:31

help me error openId
Bhavyakumar Panchotiya 2021-01-03 14:18:55
hey Kevin Waxi plz share your code here
Jomitz 2021-01-03 14:19:33
2021-01-03 14:18:31
help me error openId
Show web.php route
Jomitz 2021-01-03 14:20:03
Bhavyakumar Panchotiya 2021-01-03 14:18:55
hey Kevin Waxi plz share your code here
Already shared on top messages
2021-01-03 14:20:30
Jomitz 2021-01-03 14:19:33
Show web.php route
GistOf 2021-01-03 14:20:34
Jomitz 2021-01-03 14:16:40
You can do public_path(“uploads/“.$user->id.”/image_name”)
Or do it the WordPress way: create a folder for each month. I’m not a fan of having thousands of folders each containing one image
Jomitz 2021-01-03 14:21:24
GistOf 2021-01-03 14:20:34
Or do it the WordPress way: create a folder for each month. I’m not a fan of having thousands of folders each containing one image
I think it would be much complicated for him just let him try this simple way for now
GistOf 2021-01-03 14:21:48
True
2021-01-03 14:22:30
Jomitz 2021-01-03 14:19:33
Show web.php route
When you press 14, you get 108
2021-01-03 14:22:31
Jomitz 2021-01-03 14:19:33
Show web.php route
Waxikevin 2021-01-03 14:22:52
Bhavyakumar Panchotiya 2021-01-03 14:18:55
hey Kevin Waxi plz share your code here
This was the controller already posted