Atau gunakan rawurlencode:

 <?php
$kategori_produk= rawurlencode(" Pintu Baja");
 echo "<a href='
http://localhost/test/test2.php?nama_kategori=$kategori_produk'> test </a>";
 ?>

itu akan merubah spasi (dan semua karakter aneh) menjadi kode heksanya.


On 4/4/06, RIFKI HERUPRASETYO <[EMAIL PROTECTED]> wrote:
>
> Mas coba dibuat seperti ini.:
>
> <?php
> $kategori_produk=" Pintu Baja";
> echo "<a href='
> http://localhost/test/test2.php?nama_kategori=$kategori_produk'> test
> </a>";
> ?>
>
> kalo masih gak bisa, mungkit PHP nya,
> saya menggunakan PHP 4.
>
>
>


--
Best Regards,

Aryo Sanjaya


[Non-text portions of this message have been removed]



-- 
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia 
Info, Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED] 
:: Hapus bagian yang tidak perlu (footer, dst) saat reply! :: 
## Jobs: itcenter.or.id/jobs ## Bursa: itcenter.or.id/bursa ##
$$ Iklan/promosi : www.itcenter.or.id/sponsorship $$

[@@] Jaket ITCENTER tersedia di http://shop.itcenter.or.id 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ITCENTER/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Kirim email ke