View Single Post
  #6 (permalink)  
Old Jul 30th, 2006, 16:17
ukgeoff ukgeoff is offline
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Is it possible to align images in a div class?

Had a look at the scripts. CSS seems ok.

In the php;
This line - $t = mysql_query("SELECT * FROM `news`"); doesn't need the single quotes around 'news'.

Where are the values for variables such as $limit coming from.

I would be inclined to echo these values out to the screen and see if they are what you think they are supposed to be.

I can see no obvious reason at the moment why you would get any number of news items less than what you are calculating.

Reply With Quote