Connect with my header file?
Scotty13
Connect with my header file?
Scotty13
Generally, a server that allows execution of PHP scripts will let you use index.php as an index file, isntead of index.html. It goes in order of preference though... and usually index.html is listed above index.php, so if you have both, index.html will be displayed.
Unless your server executes .html as a php file (which most don't... ) you will need to either 1) use a PHP file like described above as an index, or 2) use a header tag in the html file to redirect it to the php file.
Either way, once you have the user viewing the PHP file, you can just use the include() function in PHP to display another script as your header.
All times are GMT -7. The time now is 06:08 PM. |