Kamis, 07 November 2013

PHP Indonesia - Facebook: maaf om mau tanya tentang regex ini ada koding kay...

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/ 
How to Get into Medical School

A tested blueprint to approach the daunting admissions process with both confidence and success! Enroll in this online course for just $29.
From our sponsors
maaf om mau tanya tentang regex ini ada koding kay...
Nov 7th 2013, 18:09, by Bayu Syafresal Izdham

Bayu Syafresal Izdham 6:09pm Nov 7
maaf om mau tanya tentang regex
ini ada koding kayak gini

<?php
$fileluar=file_get_contents('content.html');
preg_match_all('"<h1>(.*)</h1>"',$fileluar,$eksekusi);
foreach($eksekusi[1] as $eks => $datahref){
echo '<a href="?'.$datahref.'"/>'.$datahref.'</a><br/>';
}
foreach($eksekusi[1] as $eks => $datahref){
if(isset($_GET[$datahref])){
$bukacontent=explode("<h1>",$fileluar);
array_shift($bukacontent);
echo '<h1>'.$bukacontent[$eks];
}
}
?>

ndah kan kalau script itu buat nampilin datanya tpi di dalam 1 page om
ndah aku mau tanya misal kalau nampilin datanya di page lain gmn om ?

Rohmi Irsyad 6:39pm Nov 7
maksudnya 'ndah' apaan?

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

Tidak ada komentar:

Posting Komentar