Go Back   I-Mockery Forum > I-Mockery Miscellaneous Forums > Questions, Suggestions, and Tech Support
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
MetalMilitia MetalMilitia is offline
Hitler's Canoe!
MetalMilitia's Avatar
Join Date: Sep 2004
Location: UK
MetalMilitia is probably a spambot
Old Dec 18th, 2006, 11:20 PM       
You'd probably be better off positioning all your elements with CSS and storing all the data in a mySQL database. It's much eaiser than it sounds and it allows you to create pages far more efficently.

With that in mind but still using a HTML table in the way you described you could just grab the review from the database a bit at a time inserting it into the relevant boxes.

I've only ever done a small amount of PHP so you may need to wait for someone like Chimp to give a better example but you could have a table which looks like this:

[include GetArticlePart1.php;] [include getImage1.php;]
[include GetArticlePart2.php;] [include GetArticlePart3.php;]
etc...

When each of these .php files are called they will perform a database query and echo the results (with formatting tags).

Even better than that you could just statically position the pictures with CSS and use a single content box for all the text. The text should automotically wrap around the pictures.

I'm sure there IS a way of doing it with standard .txt includes but it'll make much more work for you in the long run.
__________________
Quote:
Originally Posted by bigtimecow View Post
japan
Reply With Quote
 



Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

   


All times are GMT -4. The time now is 09:40 PM.


© 2008 I-Mockery.com
Powered by: vBulletin
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.