I wan't your opinion for a optimization for PHP code. The ideia is when I insert a new service in the administration, the service is inserted in DB and is writed in a file with a number and the name. A webdesigner, that doesn“t understand PHP, with base on file, must reference the number of the service in HTML code, in some way that it goes at DB looking for the reference of a pdf file for show in a page. I have a PHP function ready, but how can i put the numbers in it,with the reference may be in XML? More Ideias??