Sabtu, 03 Agustus 2013

PHP Indonesia - Facebook: abang2 tolong ya, saya mw seperti tampilan gambar ...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
abang2 tolong ya, saya mw seperti tampilan gambar ...
Aug 4th 2013, 04:30, by Cahaya Juli

Cahaya Juli 4:30am Aug 4
abang2 tolong ya, saya mw seperti tampilan gambar 2, tapi kok saya buat seperti tampilan gambar no 1 trus.. terimah kasiih ya abang2

Cahaya Juli 4:35am Aug 4
ini syntax nya bang

Cahaya Juli 4:35am Aug 4
<?php do { ?>
<table width="134" border="0" class="selamat">
<tr>
<td width="128"><img name="" src="galery/<?php echo $row_galery['Foto']; ?>" width="131" height="106" alt="" /></td>
</tr>
<tr>
<td align="center">| Edit | Hapus | </td>
</tr>
</table>
<?php } while ($row_galery = mysql_fetch_assoc($galery)); ?></td>

Cahaya Juli 4:35am Aug 4
letak looping nya fdimn

Ramadhan Syah 4:37am Aug 4
whiel($row_galery=mysql_fetch_array($galery)){
<td width="128"><img name="" src="galery/<?php echo $row_galery['Foto']; ?>" width="131" height="106" alt="" /></td>
}

Gunawan Mujur Wibisono 4:47am Aug 4
.selamat
{
float:left;

}

Andi Muqsith 4:48am Aug 4
pake div lalu float left aja, kalau table ribet

Cahaya Juli 4:48am Aug 4
terima kasih semuanya

Cahaya Juli 4:53am Aug 4
gambar 2 nya klu gambar tersebut sudah sampe 5 n membuat baris baru dan seterusnya seperti itu temen2 gmn ya?

Ramadhan Syah 4:54am Aug 4
menggunakan kondisi lagi om ;)

Gunawan Mujur Wibisono 4:57am Aug 4
kasi <br style='clear:all' />

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: master ini knp ya koq setiap saya refresh data sel...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
master ini knp ya koq setiap saya refresh data sel...
Aug 4th 2013, 04:37, by Tommy Wijaya III

Tommy Wijaya III 4:37am Aug 4
master ini knp ya koq setiap saya refresh data selalu terinput ini scriptnya
<!---------------simpan komentar-------------------------->
<?php
if(ISSET($_POST['submit'])){
if(empty($_POST['nama'])) { echo "<b>Masukan Nama Anda !</b></br>";}
elseif(empty($_POST['url'])) {echo "<b>Masukan Email Anda</b></br>";}
elseif(empty($_POST['komentar'])) {echo "<b>Masukan Komentar Anda</b></br>";}
else {
$nama=mysql_real_escape_string($_POST['nama']);
$url=mysql_real_escape_string($_POST['url']);
$komentar=mysql_real_escape_string($_POST['komentar']);
$idartikel=mysql_real_escape_string($_POST['idartikel']);
$tgl = date('Y-m-d');

$input="INSERT INTO komentar(id_berita,nama_komentar,url,isi_komentar,tgl) VALUES ('$idartikel','$nama','$url','$komentar','$tgl')";
$hasil=mysql_query($input);
echo "<b>Terima kasih atas komentarnya !</b>";
}
}
?>

<!-----------------form komentar-------------------->
<form method=POST action=''>
<div id='formkomentar'>
<table>
<tr>
<td>Nama </td><td>:</td><td><input type='text' name='nama' size='40'/></td>
</tr>
<tr>
<td>URL </td><td>:</td><td><input type='text' name='url' value='http://'size='40'/></td>
</tr>
<tr>
<td>Komentar </td><td>:</td><td><textarea name='komentar' rows='7' cols='40'/></textarea></td>
</tr>
<tr>
<td></td><td></td><td><input type='submit' name='submit' value='submit'><input type=hidden name='idartikel' value='<?php echo $id; ?>'></td></tr>
</table>
</div>
</form>

Koopi Themaster Ofhtml 4:39am Aug 4
Jangan di refress donk.....

Hehehe kidding

Fajri Hamzah 4:42am Aug 4
soalnya post submit nya msh ke set

Tommy Wijaya III 4:43am Aug 4
lalu hrs gmna

Fajri Hamzah 4:45am Aug 4
coba aja di unset

Gunawan Mujur Wibisono 4:45am Aug 4
kl udah ke insert.. goto halaman yg sama ato bahasa halusnya refresh otomatis

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: misi gan, maaf nih pertanyaan nya super newbi bang...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
misi gan, maaf nih pertanyaan nya super newbi bang...
Aug 4th 2013, 03:17, by Ekky Sandrian

Ekky Sandrian 3:17am Aug 4
misi gan, maaf nih pertanyaan nya super newbi banget.
cara supaya pas browser buka php tapi phpnya ngk didownload melainkan langsung ditampilin kayak html gimana yah?

Gunawan Mujur Wibisono 3:18am Aug 4
periksa configurasi apache kamu

Dimas Ade Rifki Ananda 3:19am Aug 4
instal apache+php dlu mas ato yg sepaket pake xampp ato wamp

Benardhi Seprian 3:26am Aug 4
pake xampp mas...taro file phpnya di htdocs...trus kalo mau jalanin klik control panel xamppnya klik start apache sama mysqlnya...abis itu buka browser...localhost/namafile.php #cmiiw

Ekky Sandrian 3:29am Aug 4
bisa gan. makasih. entah kenapa td ngk bisa. :D

Ekky Sandrian 3:29am Aug 4
makasih banyak nih.

Gamz Diar Zewata 3:31am Aug 4
setubuh ma master di atas installin xampp ato wamp nah truz file php ny taro d htdoc ny

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: [Share CMS Mega Blogging Versi 2] New Feature - Yo...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
[Share CMS Mega Blogging Versi 2] New Feature - Yo...
Aug 4th 2013, 03:49, by Dewa

Dewa 3:49am Aug 4
[Share CMS Mega Blogging Versi 2]
New Feature
- You Can Use Multiple Category of POST
- You Can Costumize Default Widget
- Setting Widget
- Can Install Sample Widget
- Menu Configuration (You Ordering Menu)
- Submenu Configuration
- You Can Costumize Your Menu And Submenu
- Can Install Sample Menu And Submenu
- Slider (Image) CAROUSEL + Configuration Slider
- You Can Setting Size Of Your Slider (Height)
- Can Install Sample Slider (4 Slider)
- multiple related article
- You Can Costumize Size (Width) Your Site
- use 2 posting type
- Configuration saving use parse ini (ini Configuration) not use sql again
- visitor can change theme in widget theme
- now default widget can be sort with another widget
- error ducoment handling 403, 404, 405, 500, 503 page

For Download
http://mgst.co/mgb
For Demo
http://blog.megasoft-id.com/

Muhammad Taufiq Hidayat 3:54am Aug 4
itu PHP biasa atau tidak .?

Dewa 3:55am Aug 4
ya php biasa..

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: Saya mao nny nih gmna cara bikin biar post jadi ka...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Saya mao nny nih gmna cara bikin biar post jadi ka...
Aug 4th 2013, 02:07, by Alfiyana Ogawa

Alfiyana Ogawa 2:07am Aug 4
Saya mao nny nih gmna cara bikin biar post jadi kaya gini...

terima kasih

Alfiyana Ogawa 2:07am Aug 4
mohon bantuannya

Fandri Samudra 2:13am Aug 4
pake css

Wahyu Kristianto 2:14am Aug 4
Wordpress?

Rio Aditya 2:23am Aug 4
bisa pake css, bisa juga pake perulangan di phpnya

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: mohon bantuan nya master" php,, kenapa protected d...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
mohon bantuan nya master" php,, kenapa protected d...
Aug 4th 2013, 02:31, by Asep Kurniawan

Asep Kurniawan 2:31am Aug 4
mohon bantuan nya master" php,, kenapa protected di awal function di bawah error ya ?????
coding program :
<?php

include "../koneksi.php";
/**
* Method untuk menyimpan data kedalam database
* string $tabel
* array $data : $key = kolom dan $value = data yang akan disimpan.
* @return boolean true : jika berhasil, false gagal
*protected dag ttidak terbaca awal function
*/
protected function simpan($tabel, $data)//protected tidak terbaca
{
$str = "INSERT INTO %s %s VALUES (%s)";
$kolom = array_keys($data);
$kolom = "(" . implode(',', $kolom) . ")";
foreach ($data as $value)
{
$nilai[] = "'$value'";
}
$nilai = implode(',', $nilai);
$qry = sprintf($str, $tabel, $kolom, $nilai);
return $this->execute($qry);
}

/**
* Method untuk melakukan query SELECT
* string $limit : off,len : off : awal indeks yang dibaca, len : banyak data
* @return array[array] : array 2 dimensi
*/
protected function select($tabel, $kolom="*", $where="", $limit="", $order="") {

if ($kolom != "*") {
$kolom = implode(',', $kolom);
}
if ($where != "") {
$where = "WHERE $where";
}
if ($limit != "") {
$limit = "OFFSET " . str_replace(',', ' LIMIT ', $limit);
}
if ($order != "") {
$order = "ORDER BY $order DESC";
}
$qry = "SELECT $kolom FROM $tabel $where $order $limit ";
$hasil = $this->execute($qry);
# echo $qry;
while ($baris = @mysql_fetch_assoc($hasil)) {
$data[] = $baris;
}
return $data;
}

/**
* mengubah data
*/
protected function update($tabel, $data, $where) {
foreach ($data as $key => $value) {
$set[] = "$key='$value'";
}
$set = implode(',', $set);
$str = "UPDATE $tabel SET $set WHERE $where";
return $this->execute($str);
}

/**
* menghapus data
*/
protected function delete($tabel, $where="") {
if ($where != "") {
$where = " WHERE " . $where;
}
$str = "DELETE FROM $tabel $where";
return $this->execute($str);
}

/**
* Mengeksekusi perintah SQL
*/
protected function execute($string, $data=false) {
if ($data) {
$hasil = mysql_query($string);
while ($baris = mysql_fetch_assoc($hasil)) {
$d[] = $baris;
}
return $d;
}
return mysql_query($string);
}

?>

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: script "checked" ini apa guna nya ya? soal nya kal...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
script "checked" ini apa guna nya ya? soal nya kal...
Aug 4th 2013, 03:03, by Civa Annisa

Civa Annisa 3:03am Aug 4
script "checked" ini apa guna nya ya? soal nya kalo nggak aku bikin nggak ada ngaruh nya..

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: Saya menemukan artikel menarik tentang "PHP on a J...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Saya menemukan artikel menarik tentang "PHP on a J...
Aug 4th 2013, 00:50, by Agus Suhartono

Agus Suhartono 12:50am Aug 4
Saya menemukan artikel menarik tentang "PHP on a Java application server", di situ ada pertanyaan penting :

"Since PHP has no language specification but just a single implementation, there is no guarantee that the PHP core's would be identical to Quercus in behavior."

lanjutannya :

"We had to be sure that nothing broke by running the test suite of the application, to ensure there were no corner cases in the behavior of array_search() or query size limit in PDO, or any other departure from the official PHP interpreter."

Mengapa PHP tidak membikin spesifikasi language-nya ya, padahal ia sofware open source?

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: Mau tanya.. Saya punya data begini: Google, ada nG...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Mau tanya.. Saya punya data begini: Google, ada nG...
Aug 3rd 2013, 23:20, by Fi Nofriani

Fi Nofriani 11:20pm Aug 3
Mau tanya..
Saya punya data begini:
Google, ada nG array yang masing-masingnya terdiri dari array.
(a1, b1, c1)
(a2, b2, c2)
(a3, b3, c3)
...
(aG, bG, cG)

Bing, ada nB array yang masing-masingnya terdiri dari array.
(d1, e1, f1)
(d2, e2, f2)
(d3, e3, f3)
...
(dB, eB, fB)

Free, ada nF array yang masing-masingnya terdiri dari array.
(g1, h1, i1)
(g2, h2, i2)
(g3, h3, i3)
...
(gF, hF, iF)

Yang saya ingin lakukan adalah merge dan sort berdasarkan a, d, dan g:
1. Merge (hapus d dan g jika ada a, d, dan g yang sama. Hapus d jika a dan d sama. Hapus g jika a dan g sama. Hapus g jika d dan g sama.) Jadi jika d terhapus, e dan f juga terhapus. Jika g terhapus, h dan i juga terhapus.
2. Output hasil merge di nomor 1
3. Output isi Google yang tidak ter-merge
4. Output isi Bing yang tidak ter-merge
5. Output isi Free yang tidak ter-merge
6. Selesai.

Output (b dan c, e dan f, h dan i) sesuai dengan a, d, dan g.
Jujur saya bingung menerjemahkannya ke dalam algoritma PHP..
Minta tolong arahannya, makasih..

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: OOT Mindahin 2000 record data lebih :v INSERT IN...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
OOT Mindahin 2000 record data lebih :v INSERT IN...
Aug 3rd 2013, 22:54, by Muhammad Saleh Hafizh Fajri

Muhammad Saleh Hafizh Fajri 10:54pm Aug 3
OOT
Mindahin 2000 record data lebih :v

INSERT INTO `barang`
(`namaBarang`, `idKategoriBarang`, `idSatuanBarang`, `idSupplier`, `barcode`, `qtyMinimum`, `qtyMaximum`, `hargaBeli`, `hargaJual`)
SELECT `mstbarang`.`Nama`, `kategori_barang`.`idKategoriBarang`, `satuan_barang`.`idSatuanBarang`, `supplier`.`idSupplier`, `mstbarang`.`Kode`, `mstbarang`.`QtyMin`, `mstbarang`.`QtyMax`, `mstbarang`.`Hrg_BeliDsr`, `mstbarang`.`Hrg_Jual` FROM `mstbarang`
LEFT JOIN `kategori_barang`
ON `mstbarang`.`No_Kategori`=`kategori_barang`.`idtemp`
LEFT JOIN `supplier`
ON `mstbarang`.`Spl`=`supplier`.`namaSupplier`
LEFT JOIN `satuan_barang`
ON `satuan_barang`.`namaSatuanBarang`=`mstbarang`.`Satuan`

wakakaka

Cahya Dsn 11:00pm Aug 3
denormalisasi >.<

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

PHP Indonesia - Facebook: gan cara ngampil content, content2, content3 dari ...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
gan cara ngampil content, content2, content3 dari ...
Aug 3rd 2013, 18:03, by Sandi Racy

Sandi Racy 6:03pm Aug 3
gan cara ngampil content, content2, content3
dari '<p>[content]</p><p>[content2]</p><p>[content3]</p>'
gimana ? :D

Konglie Huang 6:08pm Aug 3
Coba artikel ini. Regex nya dimainkan saja.
http://stackoverflow.com/questions/11306596/regex-to-extract-the-contents-of-a-div-tag

Sandi Racy 6:09pm Aug 3
tkp dulu gan

Sandi Racy 6:09pm Aug 3
itu pake apa gan ?
asp ?

Gunawan Mujur Wibisono 6:12pm Aug 3
pake ruby, or java

Mulia Nst 6:13pm Aug 3
Di php juga ada regex. http://www.php.net/manual/en/book.pcre.php

Gunawan Mujur Wibisono 6:13pm Aug 3
btw.. disini grup PHP bahasa komputer.. ato PHP yg lain ya? -_- kok bs nanya pake bahasa apa?

Sandi Racy 6:14pm Aug 3
to the point aja yah gan :D
regex nya kira2 gimana T_T

Gunawan Mujur Wibisono 6:14pm Aug 3
-_- to the point aja.. di link teratas coba aja.. kl gagal share script gagal km kt perbaiki dr sana

Sandi Racy 6:14pm Aug 3
ane nanya link yang gan konglie kasih itu pake bahasa apa, gih aja agan lihat, kayaknya bukan pake php :D

Indra Tux Bw 6:15pm Aug 3
Rtfm

Sandi Racy 6:15pm Aug 3
baru kepikiran segini gan, hha
$result = preg_match('/\[(.*?)\]/', '$1', $content);

Konglie Huang 6:15pm Aug 3
Itu vb. Pake aja regex nya, di php salah satunya bisa dengan preg_match.

Gunawan Mujur Wibisono 6:16pm Aug 3
<div[^<>]*class="entry"[^<>]*>(?<content>.*?)</div>

Mulia Nst 6:16pm Aug 3
Yang dimaksud di atas itu ambil regex pattern nya gan

Gunawan Mujur Wibisono 6:17pm Aug 3
maksud ane.. regex yg dikasi di link itu coba aja dgn perintah regex..

Sandi Racy 6:19pm Aug 3
hmmm
bingung, hha
misal ane ambil regex ini <div[^<>]*class="entry"[^<>]*>(?<content>.*?)</div>
trus cara nerapin di php nya gimana ?
*cupu

Gunawan Mujur Wibisono 6:20pm Aug 3
$result = preg_match('/\[(.*?)\]/', '$1', $content); >> ini coba aja

Sandi Racy 6:22pm Aug 3
hasilnya 0
preg_match itu returnnya boolean ?

Gunawan Mujur Wibisono 6:24pm Aug 3
hrsnya array.. kata kuncinya salah.. btw.. sy penasaran atas ini
<p>[content]</p><p>[content2]</p><p>[content3]</p>
emang content nya ada dalam [ ]?

Sandi Racy 6:25pm Aug 3
intinya ingin ngambil kata content dari <p>[content]</p>

Gunawan Mujur Wibisono 6:27pm Aug 3
kl saya
$a=explode("</p>",$str);
foreach($a as $v)
{
$ar[]=substr($v,4,strlen($v)-1);
}
/*jawaban orang dah ngantuk*

Sandi Racy 6:28pm Aug 3
hahahaha
belum tentu ntar isi contentnya tag p, mungkin aja tag div atau tag tag lainnya :D

Gunawan Mujur Wibisono 6:29pm Aug 3
sy ngikutin dari apa yg km tulis.. km mau hapus <p>[ dan ]</p> khan :v

Konglie Huang 6:30pm Aug 3
Preg march return value nya boolean. Hasil capture subquery regex akan ditaruh di variable (parameter) ketiga kalo gak salah, dengan kata lain parameter ketiga (kalo gak salah urutannya), adalah parameter passed as reference, bukan value.

Sandi Racy 6:30pm Aug 3
hahahaha, pertanyaannya ganti jadi gini aja deh cara ngambil kata content dari [content]

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions