Posted by Stefan Mueller on 12/11/05 02:14
> I really think you should explain the options here.
>
> You can use include(); to include another file.
> You can use include_once(); to include another file, but only once.
> You can use require(); to include a file and require it's inclusion, if
> the
> file cannot be included, it will exit the script.
> You can use require_once(); to include a file like above, but only once.
> Note: parenthasis (the brackets) are not required for any of these
> functions.
That's great. Therefore, with
<?php
require "D:\WWW\scripts\anmeldungen_Show.php";
?>
I can do what a shortcut is supposed to do.
This code includes my whole HTML file inclusive the PHP code and does
exactly what I'd like to have.
Many thnaks for your help and explanation.
Stefan
[Back to original message]
|