Page 2 of 2

Posted: Sat Aug 07, 2004 10:28 am
by buddok
isnt there a way you can just select the most recent or the second most recent ? that wud solve all my problems :(

Posted: Sat Aug 07, 2004 10:30 am
by Joe
Hmm I don't think there is any way of determining most recent/non recent records in the database without any kind of resource such as the timestamp I was talking about! All in all it would take 10mins to setup.

Posted: Sat Aug 07, 2004 10:32 am
by buddok
but do i put that script in each box ?

Posted: Sat Aug 07, 2004 10:35 am
by buddok
cus i dont think that wud work :S

Posted: Sat Aug 07, 2004 10:37 am
by Joe
No I shouldn't think so, depending on your original coding structure I suppose.

Posted: Sat Aug 07, 2004 10:39 am
by buddok
but i think you forgetting i put that code in each of the four boxes does that effect wat u said ?

Posted: Sat Aug 07, 2004 10:41 am
by Joe
Am I right in saying that these boxes are individual sections which hold the news?

Posted: Sat Aug 07, 2004 10:42 am
by buddok
yer so you get why its all messed an weird to do now lol ? :P

Posted: Sat Aug 07, 2004 10:45 am
by Joe
Well instead of using individual boxes for each 'news box' use a loop and pack it all into one, or is it possible with your original code? :D

Posted: Sat Aug 07, 2004 10:48 am
by buddok
yer i cud do that i was jus tryin to make it original lol then realised it was real hard to achieve i suppose ill jus have to leave it borin i guess :(

Posted: Sat Aug 07, 2004 10:50 am
by Joe
Well, like I said you should seriously reconsider packing all of these 'news boxes' into one big box!. :D I can guarantee it would help you alot.

Posted: Sat Aug 07, 2004 10:56 am
by buddok
rofl yer but thats why i did it i thought it would be a challenge :P

Posted: Sat Aug 07, 2004 10:57 am
by Joe
Yeah a challenge, now your pulling your hair out, hehe. Always look for the best solutions first :D

Posted: Sat Aug 07, 2004 11:02 am
by buddok
yer lol anyways thansk alot for tryin :)

Posted: Sat Aug 07, 2004 11:03 am
by Joe
Yeah no problem ;)