Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
ZTE MF283U 4G Unlocked Router (Used)
ayanthamaxi
Updated:
Sunday at 8:26 PM
ලංකාවේ හොඳම උපකාරක පන්ති සහ ගුරුවරුන් එකම තැනකින් - TopTuition.lk
dulithapathum
Updated:
Saturday at 8:07 AM
Colombo
RidhMathraa ’26 🎶✨
Tmadhusanka
Updated:
Wednesday at 11:58 PM
Ad icon
Colombo
PXN V10 Pro Direct Drive Racing Wheel (Under Warranty)
Abdur Rahman
Updated:
Wednesday at 10:23 PM
Ad icon
USDT ණය සේවාව - USDT Loan Service
පුරවැසියා
Updated:
Wednesday at 4:54 PM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Software Development
PHP JSON උදව්
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Dokolla" data-source="post: 25900486" data-attributes="member: 381414"><p>මම REST API එකක් Call කරල පහල එක response අවිත් තියෙනව.. මට ඕනෙ මේකෙ එන values ටික පල්ලෙහා format එකට හදාගන්න.</p><p></p><p><strong>මෙකෙ එන JSON Objects ගානවෙනස් වෙන්න පුලුවන් වෙලාවෙන් වෙලාවට</strong>.. While loop එකක් දාගන්න ඕනෙ මට හිතෙන විදියට..</p><p></p><p>අනෙ යාලුවනෙ Please help... පින් සිද්ද වෙනවා....</p><p></p><p></p><p>Response : </p><p>[{"code":"green","id":"A1","name":"colombo"},</p><p>{"code":"red","id":"A2","name":"kandy"},</p><p>{"code":"blue","id":"A3","name":"jaffna"},</p><p>{"code":"orange","id":"A4","name":"galle"},</p><p>{"code":"yellow","id":"A5","name":"mathara"}]</p><p></p><p></p><p>Pahala widyata thani variable ekkata asssign karaganna one...</p><p></p><p></p><p>1. green A1 is colombo</p><p>2. red A2 is kandy</p><p>3. blue A3 is jaffna</p><p>4. orange A4 is galle</p><p>5. yellow A5 is mathara</p></blockquote><p></p>
[QUOTE="Dokolla, post: 25900486, member: 381414"] මම REST API එකක් Call කරල පහල එක response අවිත් තියෙනව.. මට ඕනෙ මේකෙ එන values ටික පල්ලෙහා format එකට හදාගන්න. [B]මෙකෙ එන JSON Objects ගානවෙනස් වෙන්න පුලුවන් වෙලාවෙන් වෙලාවට[/B].. While loop එකක් දාගන්න ඕනෙ මට හිතෙන විදියට.. අනෙ යාලුවනෙ Please help... පින් සිද්ද වෙනවා.... Response : [{"code":"green","id":"A1","name":"colombo"}, {"code":"red","id":"A2","name":"kandy"}, {"code":"blue","id":"A3","name":"jaffna"}, {"code":"orange","id":"A4","name":"galle"}, {"code":"yellow","id":"A5","name":"mathara"}] Pahala widyata thani variable ekkata asssign karaganna one... 1. green A1 is colombo 2. red A2 is kandy 3. blue A3 is jaffna 4. orange A4 is galle 5. yellow A5 is mathara [/QUOTE]
Insert quotes…
Verification
Dahaya deken beduwama keeyada?
Post reply
Top
Bottom