I have this conditions for validate request my problem is I told to Laravel if custom-transaction-register has been on, validate custom-transaction-details and check is custom-transaction-details lenght is less than 3?

|
Siberfx 2020-07-31 15:39:10
then you can simply use line in here
Siberfx 2020-07-31 15:39:20
https://stackoverflow.com/questions/4594180/deleting-all-files-from-a-folder-using-php

Deleting all files from a folder using PHP?Stack Overflow
For example I had a folder called `Temp’ and I wanted to delete or flush all files from this folder using PHP. Could I do this?
Billa_Bongg 2020-07-31 15:45:26
Anyone has a link for Vue Js channel?
Sumeet Jadhav 2020-07-31 16:06:19
Can someone help me with the docker
Sumeet Jadhav 2020-07-31 16:07:04
I am confused regarding the architecture i.e. how to build the image and compose.yml file
oxbir 2020-07-31 17:28:53
laravel_discuss-46803.jpg

oxbir 2020-07-31 17:29:03
What is this error?
isofdev 2020-07-31 17:37:26
oxbir 2020-07-31 17:28:53

Your end foreach try this @endforeach

codewithah 2020-07-31 20:02:19
protected function requestValidation()
{
return request()->validate([
‘wallet_id’ => [‘required’, ‘in:1,2’],
‘amount’ => [‘required’],
‘custom-transaction-register’ => ‘required|in:on,off’,
‘custom-transaction-details’ => [‘exclude_if:custom-transaction-register,on’,’min:3′]
]);
}

I have this conditions for validate request my problem is I told to Laravel if custom-transaction-register has been on ,validate custom-transaction-details and check is custom-transaction-details lenght is less than 3?but Laravel check custom-transaction-details if ‘custom-transaction-register’ is ‘off’ or ‘on’ and didn’t care to exclude_if

Sunilk16 2020-07-31 21:44:41
Ashish Patel 2020-07-31 15:14:30

Set php .exe as environment variable

Alim_Ibn_Abu 2020-07-31 23:05:50
laravel_discuss-46818.jpg

Meera 2020-07-31 23:09:47
I am new laravel user and confused how to use route for my pages.
Meera 2020-07-31 23:10:45
Please guide me for same
isofdev 2020-07-31 23:18:27
In your project go to routes folder and open web.php is there you will create your route
oxbir 2020-07-31 23:18:27
laravel_discuss-46822.jpg

oxbir 2020-07-31 23:18:50
oxbir 2020-07-31 23:18:27

What is this error?

isofdev 2020-07-31 23:19:07
Meera 2020-07-31 23:10:45
Please guide me for same

Have you already create view and controller?

Meera 2020-07-31 23:19:43
isofdev 2020-07-31 23:19:07
Have you already create view and controller?

Yes both created

isofdev 2020-07-31 23:22:39
Meera 2020-07-31 23:19:43
Yes both created

Ok in web.php
Route::get(‘/your -path’, ‘yourcontroller@yourfunction’);

Meera 2020-07-31 23:23:20
Same I have created error->view not defined
isofdev 2020-07-31 23:23:55
Did you called view is your controller?
Meera 2020-07-31 23:25:13
Route::get(‘/car’,’CarController@index’) ;
isofdev 2020-07-31 23:25:40
Show me your controller
oxbir 2020-07-31 23:29:55
laravel_discuss-46834.jpg

oxbir 2020-07-31 23:32:50
oxbir 2020-07-31 23:29:55

what is this error

isofdev 2020-07-31 23:37:11
oxbir 2020-07-31 23:29:55

Try to include test before using foreach in your case $pictures is not an array

oxbir 2020-08-01 00:49:07
What would a programmer say to the “world”?
inlogicstudio 2020-08-01 02:34:02
Hello how can I load my vuejs components on selected pages
rijisoft 2020-08-01 09:16:09
Hey guys

I want a chat system or service for support customers

The system that gave us and embed javascript and use on client side

like REVE Chat but be free or low price

live customer engagement tools

inlogicstudio 2020-08-01 11:25:38
Good morning devs

How do I load my vuejs components in selected pages

Initially all packages are build into app.js in public folder which makes the page slow

inlogicstudio 2020-08-01 11:27:49
rijisoft 2020-08-01 09:16:09
Hey guys

I want a chat system or service for support customers

The system that gave us and embed javascript and use on client side

like REVE Chat but be free or low price

live customer engagement tools

Use tawk .to

inlogicstudio 2020-08-01 11:28:50
Why is everyone mute please someone answer me
flyingdragons 2020-08-01 11:29:05
rijisoft 2020-08-01 09:16:09
Hey guys

I want a chat system or service for support customers

The system that gave us and embed javascript and use on client side

like REVE Chat but be free or low price

live customer engagement tools

Please follow this article.

flyingdragons 2020-08-01 11:29:16
https://stackcoder.in/posts/free-live-chat-integration-using-tawkio

Free Live Chat Integration Using TAWK.IO | StackCoderStackCoder
I will show you how to integrate free live chat with TAWK.IO. I am using their services to integrate for my customers for quite a long time.
inlogicstudio 2020-08-01 11:29:58
Good morning devs

How do I load my vuejs components in selected pages

Initially all packages are build into app.js in public folder which makes the page slow

RdotDev 2020-08-01 11:40:17
inlogicstudio 2020-08-01 11:29:58
Good morning devs

How do I load my vuejs components in selected pages

Initially all packages are build into app.js in public folder which makes the page slow

Declare components in app.js in this way:-
Vue.component(‘example’, function(resolve) {
require([‘./components/Example.vue’], resolve)
})

2589 2020-08-01 13:27:48
i got error: SQLSTATE[HY000] [2002] Connection refused

someone knows how to fix it?

. 2020-08-01 13:35:35
2589 2020-08-01 13:27:48
i got error: SQLSTATE[HY000] [2002] Connection refused

someone knows how to fix it?

check database credentials

2589 2020-08-01 13:40:04
the credentials correct
2589 2020-08-01 13:40:44
maybe be because i have more than 90k rows?
isofdev 2020-08-01 14:33:24
2589 2020-08-01 13:27:48
i got error: SQLSTATE[HY000] [2002] Connection refused

someone knows how to fix it?

Screenshots .env file

Minakshi_webdev 2020-08-01 14:48:41
Hello anyone has https://laravel-news.com/chatbot
MishalLeo 2020-08-01 15:02:52
Does anyone know that how to show alert message when sql injection is happening in php login page
MishalLeo 2020-08-01 15:03:06
This is in php
Ashish Patel 2020-08-01 15:37:53
laravel_discuss-46865.jpg

Ashish Patel 2020-08-01 15:38:08
Please help me sort out this
isofdev 2020-08-01 15:42:14
Ashish Patel 2020-08-01 15:37:53

edit php.ini and comment zend_extension=php_opcache.dll (with ; in front of it)

Ashish Patel 2020-08-01 15:49:14
OK thank you
Sujay 2020-08-01 15:54:38
How should i write server side validation in vue component?
Sujay 2020-08-01 15:55:36
@error …. @enderror is not working in component
|