Minggu, 01 September 2013

PHP Indonesia - Facebook: mau tanya merubah url ini menggunkan rewrite koden...

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/ 
Design-Led Engineering

Sourcebits - When your Mobile App has to be absolutely developed right. We've built more than 20 apps that have cracked the Top 10 in the App Store.
From our sponsors
mau tanya merubah url ini menggunkan rewrite koden...
Sep 1st 2013, 15:07, by Hand Excel

Hand Excel 3:07pm Sep 1
mau tanya merubah url ini menggunkan rewrite kodenya gmn ya .htaccesnya
?p=artd&&id_artikel=<?php echo $row['id_artikel']; ?>

saya gunakan ini tapi gak menuju langsung ke artikelnya, cuma di halaman ?p=artd

RewriteEngine On
RewriteBase /asp_news/
RewriteRule ^(.*).html$ index.php?p=artd&&id_artikel=$1

mohon bantuannya trimakasih.

Ghani Nafiansyah 3:23pm Sep 1
RewriteEngine on
RewriteRule ^asp_news/id_artikel/([A-Za-z0-9_-]+)?$ index.php?p=$1&id_artikel=$2 [L]

Coki Widodo 3:31pm Sep 1
Ghani Nafiansyah pemanggilan linknya gimana sob

Hand Excel 3:39pm Sep 1
saya manggilnya pakek ini
$judul = preg_replace("/ /","-",$row['judul']);
$url_link = $judul.".html";
echo "<a href='<?php echo $url_link; ?>'></a>";

kok malah error ya

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