NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming > Webmaster Tutorials
Reload this Page Displaying an external page inside a table.

Webmaster Tutorials Instructional webmaster-related how-to's and tutorials.

Advanced Search
0 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 10-09-2005, 05:30 AM THREAD STARTER               #1 (permalink)
Senior Member
 
bbalegere's Avatar
Join Date: Jul 2005
Location: Bangalore
Posts: 1,270
bbalegere is just really nicebbalegere is just really nicebbalegere is just really nicebbalegere is just really nicebbalegere is just really nice
 



Displaying an external page inside a table.


Displaying an external page inside a table
This tutorial will show you how to display a web page (html, php, asp, whatever) inside a table of a seperate page. Many web-designers use this, as a main page can be made up of many different pages per 'section' of the website. This makes for simple editing of each section. The best way to utilise this is to design all of your tables and layout in the index page, and the external pages can simply be the pure content, ready to be edited in a few seconds. No more scrambling through code to find your text.
Lets make a small website for our example.

Open a new file in textedit, notepad, dreamweaver, whatever you use.

Create a table

<table width="130" border="1" cellspacing="0" cellpadding="5">
<tr>
<td></td>
</tr>
</table>

Now open a new file in your program. Type your words. (you may use css/html formatting if you wish) andsave it as a web page (php, htm, ect ect). For this example we will call it 'content.html'

Now lets go back to the original page, and enter the code to display content.html inside out table.

<?PHP
include("content.html");
?>

So our file will now be

<table width="130" border="1" cellspacing="0" cellpadding="5">
<tr>
<td>

<?PHP
include("content.html");
?>

</td>
</tr>
</table>

Save this as a .php file.

Upload it to your webserver that has php installed, and view the file. You will see the contents of content.html inside your php file!
Imagine your site is made up of lots and lots of features. You ahve included many different files for your different sections. To edit one particular section, all you have to do it find that file and edit. Simple!
????: NamePros.com http://www.namepros.com/webmaster-tutorials/130177-displaying-an-external-page-inside-table.html
Good Luck!
http://www.beginnerwebmaster.com/bw-...ide-a-website/
bbalegere is offline  
Old 10-09-2005, 12:25 PM   #2 (permalink)
Senior Member
 
Barrucadu's Avatar
Join Date: Aug 2005
Location: East Yorkshire, England
Posts: 2,689
Barrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to beholdBarrucadu is a splendid one to behold
 




nah, IMO iFrames are much better because they work even on different webservers, if anyone wants a free iFrame generator click here
Barrucadu is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Good Article: An SEO Checklist Ferman Search Engines 2 05-28-2005 10:51 AM
HTML page inside a table benc811 Programming 19 04-23-2005 03:40 PM
Five-Day .INFO SALE - Part Five - 133 Domains Including StockResearch.info Duke Domains For Sale - Make Offer 0 03-31-2004 11:49 AM
Prime .INFO Sale - Part Five - 122 Domains Including StockResearch.info Duke Domains For Sale - Make Offer 2 02-22-2004 05:07 PM
Shopping & Retail Domains In All Extensions ON SALE - Many Nice One-Worders! Duke Domains For Sale - Make Offer 0 12-29-2003 04:06 PM

 
All times are GMT -7. The time now is 12:54 AM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger