quanpq Posted October 14, 2010 Share Posted October 14, 2010 file .htaccess RewriteBase /demoRewriteEngine onRewriteRule ^product-([0-9]+)\.html$ product.php?id=$1 php 2 file //--------------//product.php<body> <a href="detail.php?idSP=<?php echo $row_tb_demo_sp['idSP']; ?>"> <?php echo $row_tb_demo_sp['TenSP']; ?><br /></a> <?phpmysql_free_result($tb_demo_sp);?></body>-----------------------detail.php---------code-----help i want mod_rewrite url here RewriteBase /demoRewriteEngine onRewriteRule ^product-([0-9]+)\.html$ product.php?id=$1-----help member ---- Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.