PHP PDO FOREACH LOOP

 

deskripsi kerja

untuk koneksi PDO karena php & mysql yg saya pakai sudah support pdo
command harus pake Foreach Loop karena while loop tidak support di pdo
coding native saja 
hasil jadi harus sama seperti sample dibawah
    data1 category1 data2 category1 data3 category1
    data4 category2 data7 category2 data9 category2
    data5 category3 data6 category3 data8 category1

data dan category adalah hasil dari Echo/Print terpisah bukan bentuk gabungan Array
contoh
foreach($catch as $r){
    echo '$r['data'] $r['category']'    
}




PHP

Project Class: Micro (Under 500rb)
Published Budget: Rp 500,000
Finish Days: 2
Published Date: 28/12/2016 11:07:33 WIB
Start Date: 30/12/2016 09:24:49 WIB
Project Status: Closed
Accepted Worker: Rian (godamri)
Accepted Budget: Rp 200,000
Project Ending: Completed
Finish Date: 31/12/2016 14:48:47 WIB

Project Owner

miracleme
    
10.00/10.00
480 Point
#333 dari 105,305
Rated Worker: 10.00/10.00 pekerjaan bagus sekali
dan cepat
hampir tidak ada kesalahan dalam artian profesional bekerja tinggi
tehnik yang baik
serta pelayanan yang bersahabat

Accepted Worker

godamri
Kota Jakarta Pusat
    
9.71/10.00
191 Point
#580 dari 105,305
Rated Owner: 10.00/10.00

Bintang lima deh... (y)

  User Bids

jajang.umara
    
9.75/10.00

Iswanto
    
9.55/10.00

m.ilham
    
9.57/10.00

akthajaya
    
9.72/10.00

godamri
    
9.71/10.00

teguhsuryo
    
9.00/10.00

Roqiba
    
9.31/10.00

samuelerwardi
    
9.00/10.00

newbiec0der
    
8.33/10.00

cahyocamp
    
0.00/10.00

Recommended Workers

lexdorf17

16,408 points
61 projects
    
9.77/10.00

Iswanto

10,454 points
205 projects
    
9.55/10.00

mas.adi

5,384 points
21 projects
    
9.76/10.00

idlamalif

4,892 points
83 projects
    
9.86/10.00

steven.comptia

7,566 points
240 projects
    
9.91/10.00

Recommended Services

Pembuatan bot line

Rp 1,500,000
5 sales
    
10.00/10.00

Pembuatan template website

Rp 300,000
9 sales
    
10.00/10.00

Jasa pembuatan website portal berita auto content

Rp 950,000
3 sales
    
9.33/10.00

Jasa Pembuatan Website Streaming Film

Rp 750,000
3 sales
    
9.33/10.00

Open Projects

Intelligent Research Crawler (AI Engineer)

Rp 90,000,000Owner: oranyelab
Deadline: 180 days

Intelligent Research Crawler (Frontend)

Rp 20,000,000Owner: oranyelab
Deadline: 180 days

Butuh Jasa Penulisan Mengenai Augmented Reality berserta Aplikasinya

Open to SuggestionsOwner: davidbat
Deadline: 100 days

Web Scrapper Halaman Harga

Open to SuggestionsOwner: depanlaptop
Deadline: 7 days

Mencari Aplikasi E-Procument

Rp 50,000,000Owner: imamtepe
Deadline: 60 days