Guys, i have a question that is how can i get the photo and store it in to database sent it from ionic form in laravel api?

|
rrajesh011 2020-02-19 09:23:14
Anyone here used jwt with adldap authentication
rrajesh011 2020-02-19 09:24:00
I tried using jwt with adldap auth but I’m getting token true or false instead getting token value
Roham0010 2020-02-19 09:28:30
rebory 2020-02-19 09:13:01
i have list of mobile numbers in a array how to validATE EACH LENTH IS 10 DIGITS ONLY?

loop over the list and check the length of each list member by strlen()

VimKanzo 2020-02-19 09:40:10
Hello guys, I have a collection of items I’m getting from my controller which is supposed to display let’s say names, now I want to be able to iterate through the collection in my controller and only be able to display certain names in my view and not everything. Would be glad to get some assistance. Thanks
2020-02-19 09:42:15
https://bit.ly/2HD5wVC

How to Clear cache in Laravel 5 – Tutorialpoint4allTutorialpoint4all
How to Clear cache in Laravel 5,Laravel Clear Cache – How to Clear Cache on Views, Config, Route,Laravel 5 – Clear Cache in Shared Hosting Server,Laravel
Roham0010 2020-02-19 10:13:27
VimKanzo 2020-02-19 09:40:10
Hello guys, I have a collection of items I’m getting from my controller which is supposed to display let’s say names, now I want to be able to iterate through the collection in my controller and only be able to display certain names in my view and not everything. Would be glad to get some assistance. Thanks

It’s not a question it’s an answer!
iterate the collection and show certain names by some if conditions!

2020-02-19 11:59:25
loveycom 2020-02-19 02:05:23
Also are you listening correctly to webhook or if you are using callback, is it done properly?

I don’t know about that. but as I checked I think status is not updating and that’s the issue

loveycom 2020-02-19 12:06:05
2020-02-19 11:59:25
I don’t know about that. but as I checked I think status is not updating and that’s the issue

You will need to explain what the api does and what your app does.

For instance, where is the deposit made? On your app or the api? Also who is keeping the customer’s balance? If the deposit is made on the api provider side and you are just keeping record on your app, the api provider needs to notify you which they will surely do. You just need to listen to the notification.

2020-02-19 12:14:50
loveycom 2020-02-19 12:06:05
You will need to explain what the api does and what your app does.

For instance, where is the deposit made? On your app or the api? Also who is keeping the customer’s balance? If the deposit is made on the api provider side and you are just keeping record on your app, the api provider needs to notify you which they will surely do. You just need to listen to the notification.

well I don’t have a good experience with Laravel and coinpayments api that’s why i’m searching for someone to fix my issue

loveycom 2020-02-19 12:15:54
2020-02-19 12:14:50
well I don’t have a good experience with Laravel and coinpayments api that’s why i’m searching for someone to fix my issue

This has nothing to do with laravel. Any api can be consumed in any language and they follow same procedures.

loveycom 2020-02-19 12:16:26
I have worked with coinpayments api before if my memory serves me right.
loveycom 2020-02-19 12:16:51
I can guide you but you need to answer the questions I asked earlier
Z_Yamin 2020-02-19 12:35:29
Hello guys, i have a question that is how can i get the photo and store it in to database sent it from ionic form in laravel api?
skys215 2020-02-19 12:35:53
learn the basics
Z_Yamin 2020-02-19 12:37:30
i know the base but i don’t know how can get from api?
Z_Yamin 2020-02-19 12:38:01
is it like web forms?
skys215 2020-02-19 12:44:30
Yes
Roham0010 2020-02-19 13:26:33
Z_Yamin 2020-02-19 12:35:29
Hello guys, i have a question that is how can i get the photo and store it in to database sent it from ionic form in laravel api?

don’t store it in database store in drive like a file it’s better and store filename in database or just rename file to table id and you can call it by that id..

biraldino 2020-02-19 14:55:37
There are no commands defined in the “touye” namespace. {“exception”:”[object] (Symfony\Component\Console\Exception\NamespaceNotFoundException(code: 0): There are no commands defined in the “touye” namespace. at /var/www/html/vendor/symfony/console/Application.php:598)
[stacktrace]
biraldino 2020-02-19 14:57:39
biraldino 2020-02-19 14:55:37
There are no commands defined in the “touye” namespace. {“exception”:”[object] (Symfony\Component\Console\Exception\NamespaceNotFoundException(code: 0): There are no commands defined in the “touye” namespace. at /var/www/html/vendor/symfony/console/Application.php:598)
[stacktrace]

has anyone experienced an error like this? when uploaded to VPS. Web server uses nginx.

skys215 2020-02-19 15:01:38
which version of php are you using? does it match with laravel php requirements?
biraldino 2020-02-19 15:02:59
skys215 2020-02-19 15:01:38
which version of php are you using? does it match with laravel php requirements?

version 7.2

biraldino 2020-02-19 15:03:14
Laravel 6
biraldino 2020-02-19 15:09:15
skys215 2020-02-19 15:01:38
which version of php are you using? does it match with laravel php requirements?

Laravel Log Error

biraldino 2020-02-19 15:17:12
biraldino 2020-02-19 15:02:59
version 7.2

Php 7.2.11

skys215 2020-02-19 15:19:09
isn’t it routes? what is toute?
biraldino 2020-02-19 15:22:28
skys215 2020-02-19 15:19:09
isn’t it routes? what is toute?

There is no router toute name in my code

skys215 2020-02-19 15:22:44
It’s really weird
biraldino 2020-02-19 15:24:10
skys215 2020-02-19 15:22:44
It’s really weird

Very strange right. In fact I have never used the name of the route toute. And I’ve tried searching in my code. Did not find a route with the name toute

skys215 2020-02-19 15:27:49
Find toute from any file in your code
sadeqi125 2020-02-19 15:29:28
this is mycontroller how i can read in view
sadeqi125 2020-02-19 15:29:32
with loop
sadeqi125 2020-02-19 15:29:33
public function home(){
$sliderdata=mtslidermodel::orderBy(‘sliderid’,’DESC’)->get();
return view(‘mt’,$sliderdata);

}

biraldino 2020-02-19 15:30:17
skys215 2020-02-19 15:27:49
Find toute from any file in your code

I have searched all my code files. I did not find the name of the route toute

Z_Yamin 2020-02-19 15:31:33
sadeqi125 2020-02-19 15:29:33
public function home(){
$sliderdata=mtslidermodel::orderBy(‘sliderid’,’DESC’)->get();
return view(‘mt’,$sliderdata);

}

use foreach

skys215 2020-02-19 15:31:59
biraldino 2020-02-19 15:30:17
I have searched all my code files. I did not find the name of the route toute

Not only find for route, find for anything

Z_Yamin 2020-02-19 15:33:47
sadeqi125 2020-02-19 15:29:28
this is mycontroller how i can read in view

you want to show in table?

biraldino 2020-02-19 15:33:53
skys215 2020-02-19 15:31:59
Not only find for route, find for anything

Ya. I have searched all app folders, resources, vendors, bootstraps and other folders

sadeqi125 2020-02-19 15:36:49
Z_Yamin 2020-02-19 15:33:47
you want to show in table?

no table in a list

sadeqi125 2020-02-19 15:36:50
loop
sadeqi125 2020-02-19 15:36:53
<li
Z_Yamin 2020-02-19 15:43:38
@for($i = 0; $i < count($sliderdata); $i++)

<li>{{ $sliderdata[$i] }}</li>

@endfor

Z_Yamin 2020-02-19 15:43:48
use like this
Z_Yamin 2020-02-19 15:43:56
i hope work for you
skys215 2020-02-19 15:44:19
@foreach($sliderdata as $slider)
<li>{{$slider->title}}</li>
@endforeach
sadeqi125 2020-02-19 15:44:41
skys215 2020-02-19 15:44:19
@foreach($sliderdata as $slider)
<li>{{$slider->title}}</li>
@endforeach

thanks i check it

Z_Yamin 2020-02-19 15:44:54
skys215 2020-02-19 15:44:19
@foreach($sliderdata as $slider)
<li>{{$slider->title}}</li>
@endforeach

this work too

sadeqi125 2020-02-19 15:45:32
Z_Yamin 2020-02-19 15:44:54
this work too

foreech asign i

sadeqi125 2020-02-19 15:45:34
index
sadeqi125 2020-02-19 15:45:38
i=0
|