I have error messages that do not support both languages at the same time, either Arabic or English?

|
danvastgroupltd 2021-10-23 17:41:52
danvastgroupltd 2021-10-23 14:36:50
DCS:
I need help, I am Just setup the user agent in the app for example “webviewapp”. Then I need to add a condition to my backend/web, if the user agent is “webviewapp” then hide the AdSense, otherwise show it.
To implement that wat I need to put the in backend/web?

I try the following code but is not working someone help me what wrong on this or any way you can suggest

function hide($autoAdvertising ) {
$user_agent = $_SERVER[‘HTTP_USER_AGENT’];
if(strpos( $user_agent, ‘webviewapp’) !== false) {
return false;
}

else {return true;

}
}

Any one have Idea on this, I need you help so as I can release my first App

yeapes 2021-10-23 18:31:44
Could anyone help with https://tabby.ai/ payment gateway integration. I have no idea about tabby gateway.
yeapes 2021-10-23 18:32:53
If anyone familiar with this, please give me some resource for Laravel integration, Advance Thanks.
florentlao 2021-10-23 20:23:38
my Put oo Patch Route requests dd($request->all()); return null but it work for Get or Post Route . any one can help me
Sohail Ahmad 2021-10-23 20:56:43
2021-10-23 16:00:05
Bro send your email. I send you details

sohailcs176060@gmail.com

dajobeuz 2021-10-23 23:42:30
https://github.com/advisories/GHSA-pjwm-rvh2-c87w

GHSA-pjwm-rvh2-c87w – GitHub Advisory DatabaseGitHub
Embedded malware in ua-parser-js
YadavGulshan 2021-10-24 07:09:02
Is there any channel on tg with all the resources related to laravel?
spykelionel 2021-10-24 09:36:46
YadavGulshan 2021-10-24 07:09:02
Is there any channel on tg with all the resources related to laravel?

Impossible. All resources can never be available.

Manalalsubaei 2021-10-24 10:21:04
I have error messages that do not support both languages at the same time, either Arabic or English?!
Manalalsubaei 2021-10-24 10:21:39
Same code but different result?!
khamroev 2021-10-24 10:48:49
Set your database character to utf8mb4_unicode_ci_
neelbas 2021-10-24 10:57:17
laravel_discuss-97988.jpg
I try to use POLICY but it seem does not works!
the policy function does not call.
can you help me please!🙏
rashadal123 2021-10-24 11:47:00
laravel_discuss-97990.jpg

rashadal123 2021-10-24 11:47:00
laravel_discuss-97989.jpg
I am using the following codes in my project. but i am getting error. I should only get the text that is in the controller. but the all page is coming. can you help me.
rashadal123 2021-10-24 11:47:01
laravel_discuss-97991.jpg

Manalalsubaei 2021-10-24 11:52:37
khamroev 2021-10-24 10:48:49
Set your database character to utf8mb4_unicode_ci_

the data doesn’t come from database
this is the validation of form

VirtualDemon 2021-10-24 11:54:44
its not error its about encoding.
Manalalsubaei 2021-10-24 11:56:22
VirtualDemon 2021-10-24 11:54:44
its not error its about encoding.

yah.
exactly, how can i solve it?

VirtualDemon 2021-10-24 11:58:08
Manalalsubaei 2021-10-24 11:56:22
yah.
exactly, how can i solve it?

use json plugin for the browser

Manalalsubaei 2021-10-24 12:02:31
VirtualDemon 2021-10-24 11:58:08
use json plugin for the browser

If all messages are in Arabic, it’s okay, and if all messages are in English, it’s okay, but if mixed between them you saw the result.

Manalalsubaei 2021-10-24 12:04:45
VirtualDemon 2021-10-24 11:58:08
use json plugin for the browser

What’s its job?

VirtualDemon 2021-10-24 12:05:32
Manalalsubaei 2021-10-24 12:04:45
What’s its job?

parsing json correctly

Manalalsubaei 2021-10-24 12:09:04
VirtualDemon 2021-10-24 12:05:32
parsing json correctly

Okay.
I will try it now.

Manalalsubaei 2021-10-24 12:10:07
VirtualDemon 2021-10-24 12:05:32
parsing json correctly

laravel_discuss-98001.jpg
It is this?

VirtualDemon 2021-10-24 12:10:44
Manalalsubaei 2021-10-24 12:10:07
It is this?

i think

Manalalsubaei 2021-10-24 12:12:56
VirtualDemon 2021-10-24 12:10:44
i think

Yeah thanks a lot, it works.

VirtualDemon 2021-10-24 12:13:09
Manalalsubaei 2021-10-24 12:12:56
Yeah thanks a lot, it works.

you’re welcome🌹

Manalalsubaei 2021-10-24 12:13:17
laravel_discuss-98005.jpg

natghi2010 2021-10-24 14:15:21
laravel_discuss-98006.jpg
what am i doing wrong here. im kind of green on sql
natghi2010 2021-10-24 14:18:40
laravel_discuss-98007.jpg

spykelionel 2021-10-24 14:45:58
natghi2010 2021-10-24 14:15:21
what am i doing wrong here. im kind of green on sql

Am a newbie sir. Why use / before DB?

natghi2010 2021-10-24 14:46:21
spykelionel 2021-10-24 14:45:58
Am a newbie sir. Why use / before DB?

so i dont have write Use at the top

spykelionel 2021-10-24 14:46:47
natghi2010 2021-10-24 14:46:21
so i dont have write Use at the top

Please come again?

ttdspp 2021-10-24 14:47:32
i think your query would look like: SELECT (SELECT count(*) FROM ‘matches’ WHERE ‘winner’ = 1 as wins) FROM ‘matches’ as ‘match’ and so on …
Is that your expected query?
natghi2010 2021-10-24 14:47:35
spykelionel 2021-10-24 14:46:47
Please come again?

normally you have to activally declare namespace at the top

|