Posts: 1,168
Name: Dragos-Valentin
Location: Cluj-Napoca, RO
|
you create the file you are copying (like a template) with an identifier where you need the "TEST" to come, and when the form is evaluated, you parse the file and then write it ... don't know if it's the easiest way to do it ...
another easier way would be for you to only have something like
PHP Code:
<?php
$page = "TEST";
include('a file i\'ll tell you about now');
?>
instead of copying the file you write itr directly since it's only 4 lines, and the file you are including there contains the variable $page exactly where your sql query is ...
that way you save some space and keep your main code in one single place in case of any later problems 
__________________
.
» Please remember to add to my Talkupation if you enjoyed my post. Thank you :)
.
Last edited by OmuCuSucu; 05-17-2005 at 06:17 PM..
|