How to code my url not to display the value of variable in PHP?
-
Example this is my two url.. http://www.mysite.com/page\_one.php?post\_id=4 http://www.mysite.com/listingsecond.php?\_id=2 How to code in PHP same as the url below: http://www.mysite.com/page\_one http://www.mysite.com/listingsecond thank you so much for those who can solve my problem.... :doh:
-
Example this is my two url.. http://www.mysite.com/page\_one.php?post\_id=4 http://www.mysite.com/listingsecond.php?\_id=2 How to code in PHP same as the url below: http://www.mysite.com/page\_one http://www.mysite.com/listingsecond thank you so much for those who can solve my problem.... :doh:
-
Example this is my two url.. http://www.mysite.com/page\_one.php?post\_id=4 http://www.mysite.com/listingsecond.php?\_id=2 How to code in PHP same as the url below: http://www.mysite.com/page\_one http://www.mysite.com/listingsecond thank you so much for those who can solve my problem.... :doh:
You should use .htaccess. Take a look at this article, it is for beginner http://www.addedbytes.com/articles/for-beginners/url-rewriting-for-beginners/[^]
-
Example this is my two url.. http://www.mysite.com/page\_one.php?post\_id=4 http://www.mysite.com/listingsecond.php?\_id=2 How to code in PHP same as the url below: http://www.mysite.com/page\_one http://www.mysite.com/listingsecond thank you so much for those who can solve my problem.... :doh:
Modify your caller page to use POST instead of GET.