I am building a site with PHP/MySQL, and I was wondering.. Is there a good way to get URLs like
/gallery/index.php?section=illustration&id=27
to appear as, and and be accessible from something like
/gallery/illustration/tree-27
where "tree-27" is the name of the picture and its id. (Having the id number in the URL along with the name prevents to images with identical names from causing problems..)
/gallery/index.php?section=illustration&id=27
to appear as, and and be accessible from something like
/gallery/illustration/tree-27
where "tree-27" is the name of the picture and its id. (Having the id number in the URL along with the name prevents to images with identical names from causing problems..)