Hi everybody,
I would like to know which method is better when I'm writing my PHP scripts.
1. I write my scripts then I invoke it adding a query string
test.php?NUM=10&FMT=test&TPL=temp;
2. I wirte my script then I use it like a function. I include test.php in my .html page then I call function with parameters
function test(aNum,aTest,aTemp);
How I have to call a PHP script from a .HTML page ?
<PHP include"/path/test.php"; ?> or
<!-- include virtual="/path/test.php" --> or
<script src="/path/test.php"></script>
Which one is better ?
Please help me.
Thanks
Isa