This is fine, but how to implement an android application using PHP?

|
JeevaniSM 2020-11-10 18:55:39
Thanx
JeevaniSM 2020-11-10 18:59:20
2020-11-10 18:52:36
hi guys
i,m want create function to build switch case for me : but dosnt work ::( what me do?

Where do you get $case value ? And what’s the error shows ?

Mani34984 2020-11-10 19:41:29
laravel_discuss-58784.jpg

Mani34984 2020-11-10 19:41:29
laravel_discuss-58783.jpg

Mani34984 2020-11-10 19:41:29
laravel_discuss-58782.jpg

Mani34984 2020-11-10 19:41:29
laravel_discuss-58781.jpg

Mani34984 2020-11-10 19:42:38
Mani34984 2020-11-10 19:41:29

Ones with predetermined values work, whiles ones with variables( $x) don’t

Mani34984 2020-11-10 19:42:54
Mani34984 2020-11-10 19:42:38
Ones with predetermined values work, whiles ones with variables( $x) don’t

Help!!!!!!

JeevaniSM 2020-11-10 19:43:41
Mani34984 2020-11-10 19:42:54
Help!!!!!!

try DD and see the values passed with

JeevaniSM 2020-11-10 19:44:20
I mean {{ dd }}
Mani34984 2020-11-10 19:50:16
JeevaniSM 2020-11-10 19:44:20
I mean {{ dd }}

Same outcome

JeevaniSM 2020-11-10 19:51:26
Mani34984 2020-11-10 19:42:38
Ones with predetermined values work, whiles ones with variables( $x) don’t

match if you get same values when you use variable // check with dd. check what values are you getting ? or no values ?

JeevaniSM 2020-11-10 19:52:38
Mani34984 2020-11-10 19:42:38
Ones with predetermined values work, whiles ones with variables( $x) don’t

seems like the $extendedid value is not passing? check if it works

Mani34984 2020-11-10 19:53:14
laravel_discuss-58792.jpg

Mani34984 2020-11-10 19:54:23
Mani34984 2020-11-10 19:53:14

This is the response error in postman with dd and also response->json()

JeevaniSM 2020-11-10 20:00:13
Mani34984 2020-11-10 19:42:38
Ones with predetermined values work, whiles ones with variables( $x) don’t

you are saying when you set $extendid = 1 , the code works right ?

Mani34984 2020-11-10 20:12:44
JeevaniSM 2020-11-10 20:00:13
you are saying when you set $extendid = 1 , the code works right ?

No

Meet Vaghasiya 2020-11-10 20:14:55
any duggestion for best laravel course in udemy or youtube?
Meet Vaghasiya 2020-11-10 20:15:06
*suggestion
Mani34984 2020-11-10 20:38:27
JeevaniSM 2020-11-10 20:00:13
you are saying when you set $extendid = 1 , the code works right ?

When I replace $extendid with 1 , it works

JeevaniSM 2020-11-10 22:03:16
Mani34984 2020-11-10 20:38:27
When I replace $extendid with 1 , it works

means the value $extendid is not passed
1. check whether $extendid value is getting set up
2. if yes check if the parameter passing is working or not

JeevaniSM 2020-11-10 22:03:41
Meet Vaghasiya 2020-11-10 20:14:55
any duggestion for best laravel course in udemy or youtube?

always go to laracast videos if you are a noobie

2020-11-10 23:17:32
JeevaniSM 2020-11-10 18:59:20
Where do you get $case value ? And what’s the error shows ?

hi sorry – i,m offline and now seen your message . cause i,m have create bot_telegram and for handle keyboards i,m need create multi switch

Donihernandez 2020-11-10 23:22:57
Dushyantsinghds 2020-11-09 17:41:56
We need part-time full stack laravel Developer,
Experience: 2-3 years
If anybody interested so please Ping me…

I’m interested

2020-11-11 07:39:12
Anyone here has built android applications using php on backend?
I don’t have any idea on what to use. Is there any framework or something? Can you suggest me something?
2020-11-11 07:41:23
@DesolatorMagno do you know something about it?
2020-11-11 08:43:44
2020-11-11 07:39:12
Anyone here has built android applications using php on backend?
I don’t have any idea on what to use. Is there any framework or something? Can you suggest me something?

Just create api

2020-11-11 08:48:08
Please take me from scratch. It’s difficult to understand like this๐Ÿ˜…
Prem Soni 2020-11-11 09:02:24
laravel_discuss-58825.jpg

Prem Soni 2020-11-11 09:02:40
Can anyone help me?
hreza05 2020-11-11 09:09:06
Prem Soni 2020-11-11 09:02:40
Can anyone help me?

Run Php artisan optimize command

Prem Soni 2020-11-11 09:09:38
Ok
Prem Soni 2020-11-11 09:13:24
Then also same problem occured
pardeep9218 2020-11-11 09:32:20
Prem Soni 2020-11-11 09:02:24

Check your route is it defined or not

2020-11-11 09:48:11
2020-11-11 08:48:08
Please take me from scratch. It’s difficult to understand like this๐Ÿ˜…

https://www.toptal.com/laravel/restful-laravel-api-tutorial

Laravel API Tutorial: How to Build and Test a RESTful APIToptal Engineering Blog
In this Laravel API tutorial, we explore the ways to build โ€” and test โ€” a robust RESTful web service using Laravel.
2020-11-11 09:54:45
2020-11-11 09:48:11
https://www.toptal.com/laravel/restful-laravel-api-tutorial

This is fine, but how to implement an android application using PHP?

mehrb0d 2020-11-11 10:06:26
Prem Soni 2020-11-11 09:02:24

php artisan route:clear

mehrb0d 2020-11-11 10:06:54
if it doesn’t work, show me web.php
JeevaniSM 2020-11-11 10:14:26
2020-11-11 07:39:12
Anyone here has built android applications using php on backend?
I don’t have any idea on what to use. Is there any framework or something? Can you suggest me something?

you mean PHP as the web APP + having an android for Mobile ? yes, thats why we use RESTful APIs

JeevaniSM 2020-11-11 10:17:56
2020-11-11 09:54:45
This is fine, but how to implement an android application using PHP?

urr. you need to understand few concepts here/ –
Say you have a website for a magazine with some articles, its done on Laravel. now, you need a mobile app to for this magazine. So the steps are like –
1. the website in laravel, you create RESTful API end ponts for GET / POST / PUT / PATCH etc ( CRUD operations )
2. You create the Android APP
3. You use the API to fetch data from the website database and display in your Android App view, same for create new articles or update it

The use of API is that you dont need to tinker with the DB directly or dont want to mess with the other programming language

JeevaniSM 2020-11-11 10:18:38
2020-11-11 08:48:08
Please take me from scratch. It’s difficult to understand like this๐Ÿ˜…

there is no souch route is defined ?

Mani34984 2020-11-11 11:26:49
JeevaniSM 2020-11-10 22:03:16
means the value $extendid is not passed
1. check whether $extendid value is getting set up
2. if yes check if the parameter passing is working or not

It’s setup correctly and using the REST ful api method I pass the value to it through postman

JeevaniSM 2020-11-11 11:41:59
Mani34984 2020-11-11 11:26:49
It’s setup correctly and using the REST ful api method I pass the value to it through postman

not sure what went wrong then – but logically, if you put 1 then it work ; but in variable , its not working – then there is some thing wrong with the value passing to that variable

Mani34984 2020-11-11 13:04:20
JeevaniSM 2020-11-11 11:41:59
not sure what went wrong then – but logically, if you put 1 then it work ; but in variable , its not working – then there is some thing wrong with the value passing to that variable

Do you think the problem could be originating from my structure of laravel or from the OS

JeevaniSM 2020-11-11 13:27:13
Mani34984 2020-11-11 13:04:20
Do you think the problem could be originating from my structure of laravel or from the OS

No. If there is a problem with structure, the app won’t work. In your case, when you input the value manually, it works ; but via programmatically it’s doesn’t, so there is an issue with your code only

Atul 2020-11-11 13:49:07
Best way to implement order status table in e-commerce website
Mani34984 2020-11-11 13:52:53
JeevaniSM 2020-11-11 13:27:13
No. If there is a problem with structure, the app won’t work. In your case, when you input the value manually, it works ; but via programmatically it’s doesn’t, so there is an issue with your code only

Very frustrating

profsr123 2020-11-11 15:07:09
laravel_discuss-58857.jpg
whats wrong in this
profsr123 2020-11-11 15:07:24
any body please help
NanoCellMusic 2020-11-11 17:04:17
didnt send a link but ok
|