soleimanian 0 Report post Posted October 8, 2004 i'm desgining my web sitei want to set id for per filesfor example : news=show&id=256and link to these fileplease help me Share this post Link to post Share on other sites
marijnnn 0 Report post Posted October 8, 2004 hm, you're getting it wrongyou have to make a php page, for example index.phpand then in that file, you type for exampleif (isset(news) && news==show){ if (id==1){ include("pagex.html"); } if (id==2) ... if (id==256){ include ("pagey.html");}something like this. you could replace the huuuuuge amount of 'if's' by using a table in a mysql database that says which id refers to which url.and then do something likemysql_query("select name from pages where id=".*_GET['id']);and then you have the name of the page. all you have to do now is import it. Share this post Link to post Share on other sites