PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Donovan
Client


Joined: Oct 07, 2003
Posts: 675
Location: Ohio

PostPosted: Tue Oct 16, 2007 2:21 pm Reply with quote Back to top

I gave up on the template thing and combined that with the code.

My loop isn't quite working as planned. I get a question displayed then both rows of Statistics, then I get another question but it is outside the table and stretches the page double wide.

Can't find the error.

Any help is appreciated.
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website ICQ Number
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 2063
Location: near Albany NY

PostPosted: Tue Oct 16, 2007 2:36 pm Reply with quote Back to top

I took a quick look but it is asking a lot for anyone to go thru all that code. I sure don't have the time. A couple of suggestions about an approach instead. Down after the begin question comment you keep jumping into and out of PHP like it was a hot potato. I can't see any reason, the whole section, at a minimum, could all be inside of one start PHP, end PHP. It just makes the code more difficult to fathom and debug the way you have it. You also should use indentation to align your tables, tr, and tds. Start a table, then put the row indented say 3 spaces beneath that, then any tds then back out with close tds close trs and close tables with the same indentation. That way you will be able to more easily visualize the structure. Also run the thing thru a validator and it will tell you if you have any unclosed tags. There's also tools like (I think) html tidy that will show you the structure.

And if you still want someone from here to look at it, well they may be more generous with their time than I am, but I'd suggest you extract the problematic code and try to isolate it so someone can look at it without wading thru tons of extraneous stuff.
View user's profile Send private message Visit poster's website
Donovan
Client


Joined: Oct 07, 2003
Posts: 675
Location: Ohio

PostPosted: Wed Oct 17, 2007 9:53 am Reply with quote Back to top

Yeah. I cobbled together 3 different templates and didn't format anything. After going through tooth and nail I found the issue and fixed it.

Thanks

I do have a questions on a popup but will use another thread.
View user's profile Send private message Visit poster's website ICQ Number
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum