this is for a translation script...
I basically want to do something like this:
<?PHP include "top.php"; ?>Some english words here<?php include "bottom.php"; ?>
top.php (contains):
<?PHP if ($rowxxx[LANG] == 'English') { ?>
bottom.php contains):
<?PHP } else { some other stuff here, translation stuff } ?>
the reason that I want to use include files, is because i don't want to write in a bunch of if statements into the code, i want to template the if statement, so to speak...
this might not be the best way to do this,
but it doesn't work anyway, because i get a parse error, assuming that PHP doesn't let me continue an IF within two included files...
if anyone has a better idea of how to work this... or how to make this work, it would be much appreciated,
p.s.
I want the HTML source code to contain english as a default language hardcorded, for easier editing later, i don't want to make english a variable, only other languages.
that's why i am doing it this way,
thanks