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
#361 dari 112,733
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
#661 dari 112,733
Rated Owner: 10.00/10.00

Bintang lima deh... (y)

  User Bids

jajang.umara
    
9.72/10.00

Iswanto
    
9.60/10.00

m.ilham
    
9.57/10.00

akthajaya
    
9.70/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

Iswanto

11,828 points
235 projects
    
9.60/10.00

mas.adi

7,144 points
22 projects
    
9.77/10.00

bl4ck4nt

10,782 points
83 projects
    
9.29/10.00

irvanseptian.com

6,112 points
22 projects
    
9.68/10.00

rolldev

4,167 points
8 projects
    
8.67/10.00

Recommended Services

Pembuatan bot line

Rp 1,500,000
5 sales
    
10.00/10.00

Jasa pembuatan website portal berita auto content

Rp 2,350,000
3 sales
    
9.33/10.00

Jasa optimasi Page Speed berbasis WordPress

Rp 500,000
7 sales
    
9.43/10.00

Jasa Pembuatan Website Streaming Film / TV Series

Rp 650,000
2 sales
    
10.00/10.00

Sistem Inventory dan POS

Rp 1,500,000
1 sales
    
10.00/10.00

Open Projects

Web App Firebase Chat

Open to SuggestionsOwner: miecode
Deadline: 14 days

Proximity Marketing Beacon

Rp 5,000,000Owner: nurprihartono
Deadline: 60 days

Need Developer: Integrasi plugin ongkir lokal dengan plugin multi vendor DOKAN

Open to SuggestionsOwner: mindtees.store
Deadline: 7 days

Membuat Formulir Entri Data Online

Open to SuggestionsOwner: sophiaisabella
Deadline: 10 days

Cari Thema Muvipro Wordpress yang tidak terpakai... Beserta ID membernya

Open to SuggestionsOwner: RaimondWell
Deadline: 7 days