Webmasters?

Question
Any webmasters out here?

Answer
Yes.
What can we help with?

Answer
Do you know PHP? There is this thing called tables (TBL files) in PHP.
I want to be able to split the appearance and the content in a web site.
I know that php offers a way to do this. For example the phpbb.com does this with tables (.tbl files). Do you know how this is done and/or have sample code?
I think this is the best way to handle the different language displays. In other words, when a different language is to be displayed, the entire web content will not have to change, only the text.

Answer
Unfortunately, I know little about PHP or tables. (straight HTML with a tad a JAVA scripting tossed in.)
But there are many other webmasters here at here, some quite expert in coding, that I'm certain can assist you shorly.

Answer
The only tbl commands that I am familiar with that directly influence php are generally "calls" to a MySQL database looking to insert dynamic data. Typically any table creations are preformed by a template page coded in html and brought into the php page via an "include" command.
Then again, php is not my first language!

Answer
Here's a link to a PHP Generator Program - it's not cheap, however, and I haven't used it so can't comment further.
http://www.phppagegenerator.com/
A good php tutorial site is here:
http://www.php-mysql-tutorial.com/php-mysql-paging.php
Hope this helps.

Answer
Originally Posted by Complete I want to be able to split the appearance and the content in a web site.
I think this is the best way to handle the different language displays. In other words, when a different language is to be displayed, the entire web content will not have to change, only the text. In PHP this is possible with the "include" command.
You can place the text (or any other content, like the website header etc...) in separate files, for example:
description_it.txt
description_en.txt
Then include the appropriate files in any point of the web page with the following code:
<?php include("description_it.txt") ?>
More info here
http://it.php.net/manual/en/function.include.php
Hope this helps
© 2007 www.aqcollection.com | Contact us |