Type: Posts; User: jsws
Search took 0.01 seconds.
Great thanks i'll give this a go
365 images, and they have to be in order
The images are in numerical order (badly explained sorry) so they could easy all be seen.
I'm not worried about people downloading them, and i agree most users wouldn't know how to but I'm trying to...
So I'm trying to make it so the client doesn't see
<div class="image" style="background-image: url(images/210.jpg)">
But instead sees something like:
$pic get set here:
$pic = reset($row);
It's resetting the array $row so it's pointed at the first element in the array again. So it returns the first element of the array. And then because it's...
I found a much easier way of doing it...
// printing table rows
while($row = mysql_fetch_row($result))
// $row is array... foreach( .. ) puts every element
How would you suggest I incorporate that into the code already there?
the ID's just go from 1 to 365 integer values
I'll start by explaining what I've got. Basically PHP calls the database (MySQL) and then put it into an html table.
It works fine apart from I want the ID number to be placed into the...
so basically i've got a countdown timer which countsdown from 24hours to 0 and then resets.
What I would like is when the timer equals 0 (Midnight) then the page refreshes.
Thanks although I'm having trouble implementing this into my code.
what would i set the UTC date to and how would i use that to get the countdown correct?
Sorry for being a bit simple, im...
So far i've...