HTML talk
Forum rules
Please keep the forum rules and guidelines in mind when creating or replying to a topic.
Please keep the forum rules and guidelines in mind when creating or replying to a topic.
-
Hunchman801

- Posts: 87699
- Joined: Thu Aug 07, 2003 6:50 pm
- Location: Paris, France
- Contact:
- Tings: 640607
Re: HTML talk
According to statistics, 45.6% of PC members used IE this month, while 36.6% used Firefox.
Re: HTML talk
Really? Well, I have both. ^^
-
Hunchman801

- Posts: 87699
- Joined: Thu Aug 07, 2003 6:50 pm
- Location: Paris, France
- Contact:
- Tings: 640607
Re: HTML talk
That's 53% for IE, 32.5% for Firefox and 9.9% for Opera.
Re: HTML talk
I used Firefox here a couple of times. ^^
-
Hunchman801

- Posts: 87699
- Joined: Thu Aug 07, 2003 6:50 pm
- Location: Paris, France
- Contact:
- Tings: 640607
Re: HTML talk
I wonder who uses Opera. That's quite a nice browser 
-
Reese Riverson

- Posts: 40244
- Joined: Wed Sep 03, 2003 5:32 pm
- Location: R̸̨̧̛̝͎͔̹͉̫̞͚͎͈̫̲̘͕̞͔̼̣͍̞̤̹̫̘̼͚̤̮̟͍̺̯͍̜̹͓̤͖͎͌̀̿͗̍͌̈́̿̿͑̄̀͌̒̅͛̄̾̈͠ͅayman Pirate-Community Lodge
- Contact:
- Tings: 533867
Re: HTML talk
A useful code to add with your HTML site (with the .php) at the end is:This very simple PHP code is very useful for when adding a navigation system onto your site.
For example.
On the RayGallery site, the language navigation (where you can switch to the English, French, or even the Dutch version's of the site) with this code in place:Which will take the code right from the text file, called "lang". The included file does NOT have to be a php, HTML, css or et cetera. In this case, I chose to use the text file, simple.
what is contained in the text file is:and that is it. Right now they are NOT setup as links. Because I'll get to that a bit later.
As you can see, no "HTML" or "BODY" takes in the text file. The reason is simple, you do not need them. If you add them, they'll be in the index file twice. Seeing the index already has the html and body tags, the text file will not need them. it goes for all files which are included into the index page.
This simple php code is actually a time saver. Think about it...
You wouldn't have to edit the navigation in every single page! If your site has 50+ pages, each with a navigation added in it, and you wanted to add something to the navigation, and if you do not have this simple PHP code in it, you will be editing 50+ pages which takes a while. Now if you used this code, and it is in each page, your navigation code will be only in one file. If you edit the file to add something, it is edited in EVERY page. See how much time it'd save?
Code: Select all
<?PHP include "text.txt"; ?>For example.
On the RayGallery site, the language navigation (where you can switch to the English, French, or even the Dutch version's of the site) with this code in place:
Code: Select all
<?PHP include "lang.txt"; ?>what is contained in the text file is:
Code: Select all
English(EN) | Français(FR) | Nederlandse(DU)As you can see, no "HTML" or "BODY" takes in the text file. The reason is simple, you do not need them. If you add them, they'll be in the index file twice. Seeing the index already has the html and body tags, the text file will not need them. it goes for all files which are included into the index page.
This simple php code is actually a time saver. Think about it...
You wouldn't have to edit the navigation in every single page! If your site has 50+ pages, each with a navigation added in it, and you wanted to add something to the navigation, and if you do not have this simple PHP code in it, you will be editing 50+ pages which takes a while. Now if you used this code, and it is in each page, your navigation code will be only in one file. If you edit the file to add something, it is edited in EVERY page. See how much time it'd save?
-
Hunchman801

- Posts: 87699
- Joined: Thu Aug 07, 2003 6:50 pm
- Location: Paris, France
- Contact:
- Tings: 640607
Re: HTML talk
This is the reason why the include function is used in every script here
^^ What's great with it is that you just have to edit one file in order to modify the whole website 
-
Reese Riverson

- Posts: 40244
- Joined: Wed Sep 03, 2003 5:32 pm
- Location: R̸̨̧̛̝͎͔̹͉̫̞͚͎͈̫̲̘͕̞͔̼̣͍̞̤̹̫̘̼͚̤̮̟͍̺̯͍̜̹͓̤͖͎͌̀̿͗̍͌̈́̿̿͑̄̀͌̒̅͛̄̾̈͠ͅayman Pirate-Community Lodge
- Contact:
- Tings: 533867
Re: HTML talk
^^
As for PHP codes in forums, I still don't understand them. ^^;
As for PHP codes in forums, I still don't understand them. ^^;
Re: HTML talk
I want to learn all this code and make my own forum lol.
-
Hunchman801

- Posts: 87699
- Joined: Thu Aug 07, 2003 6:50 pm
- Location: Paris, France
- Contact:
- Tings: 640607
Re: HTML talk
It took me weeks to understand them 
-
Reese Riverson

- Posts: 40244
- Joined: Wed Sep 03, 2003 5:32 pm
- Location: R̸̨̧̛̝͎͔̹͉̫̞͚͎͈̫̲̘͕̞͔̼̣͍̞̤̹̫̘̼͚̤̮̟͍̺̯͍̜̹͓̤͖͎͌̀̿͗̍͌̈́̿̿͑̄̀͌̒̅͛̄̾̈͠ͅayman Pirate-Community Lodge
- Contact:
- Tings: 533867
Re: HTML talk
It'll take quite some time to make your own forum, Neo. It is not easy. It requires full knowlege of HTML, XHTML, CSS, PHP, MYSQL, and et cetera.
Re: HTML talk
Oh... I will have to take the time to understand it all, I will have time after this year. ^^
-
Hunchman801

- Posts: 87699
- Joined: Thu Aug 07, 2003 6:50 pm
- Location: Paris, France
- Contact:
- Tings: 640607
Re: HTML talk
I learnt this all years ago ^^
