รบกวนสอบถามผู้รู้ด้วยครับ
แก้ปัญหา php ไม่ได้ครับ
ผมต้องการแก้ลิงค์ page ครับ
ลิงค์ที่ได้มาเป็นเช่นนี้ แต่ใช้ไม่ได้มันไม่เปลื่ยนหน้า >2 3 ให้ครับ
http://localhost/category16.ht...ge=category&category_id=16 
ถ้าแก้ลิงค์เป็น
http://localhost/?pg=2&page=category&category_id=16 
มันถึงจะเปลี่ยนหน้า 2 และ 3 ให้
ผมจะต้องแก้ใข code ส่วนไหนครับถึงจะไม่ให้แสดง /category16.html/ ครับ
ส่วนแรก Page:....
<td align="right" class="links"><strong><font class=links>Page:
<?php $pg->showPaging("", "&page=category&category_id=".$_GET["category_id"]); ?></font></strong></td>
ส่วนที่สอง Go To Page : :....
<font class=links>Go To Page :
<?php $pg->showPaging("", "&page=category&category_id=".$_GET["category_id"]); ?></font> <a href="articlerss.php?type=2&category=<?=$_GET["category_id"]?>"><img src="images/rss.jpg" border=0 alt="See As RSS"></a>
ขอบคุณทุกๆท่านล่วงหน้าที่ให้การแนะนำครับ
htaccess
****
RewriteEngine On
RewriteRule ^category(.*).html$ index.php?page=category&category_id=$1 [L]
RewriteRule ^article(.*).html$ index.php?page=article&article_id=$1 [L]
RewriteRule ^(.*).html$ index.php?page=$1 [L]
RewriteRule ^(.*).html$ index.php?menu=$1 [L]
RewriteRule ^index.html$ index.php
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
<Files ~ "\.(inc)$">
order allow,deny
deny from all
</Files>
******