Reply to Re: Menu on the left or on the right

Your name:

Reply:


Posted by Luigi Donatello Asero on 08/23/06 17:25

"Deryck" <deryck@REMOVElonghope.co.uk> skrev i meddelandet
news:4kvm9hFe3chlU1@individual.net...
> Luigi Donatello Asero wrote:
>
> >> This doesn't answer your question but....
> >>
> >> You could use 2 CSS stylesheets (one for left, one for right) and some
> >> bit of code (involving PHP and cookies) to let the user select which
> >> one he preferred.
> >
> > How would I do that?
> > I am not so good at PHP.
> >
> >
>
> OK, something like this...
>
> 0) check that your wbhosting company lets you have PHP
> 1) convert html files to PHP (change the .html extension to .php)
> 2) update all internal links in the files you just changed to look
> file.php rather than file.html


I do not think that it is worth for that page to convert the file.html into
..php.
I have files with a php.extension, though.
Thank you, anyway.
The page https://www.scaiecat-spa-gigi.com/it/test.html already shows three
columns.


> At this stage the site should now work as before
>
> 3) Make life easier for yourself by putting all code that gets repeated
> (doctype, css, navigation menu, etc) at the start and end of each file
> into separate files called, say header.inc and footer.inc
>
> 4)Now use PHP to include those files rather than having the code itself
> in each file. Your newly converted html to php files will look something
> like
> <?php require ("header.inc") ?>
> <p> Main web content here </p>
> <?php require ("footer.inc") ?>


What is the difference with "include" ?

--

Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/it/svezia.html
我居住在Sverige

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация