Bonjour ...
My ISP's PHP is < 4.2.0, and the fmod function was not available before
4.2.0
My question : is there a replacement to fmod, or what can i do to do a
fmod without it ?
Thanks in advance,
-Quentin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
Hi
I want to substract $first_date to $second_date and print the result
this way :
xx days, xx hours, xx minutes
i tried (strtotime($second_date)-strtotime($first_date)) but what i get
is a timestamp
and i dont know what to do with it
Is there already a function to print the result in a human r
i found out that using strtotime did the trick !!
> > I have a problem with the date function
> >
> > > $theday = date("Y-m-d", time());
> > echo date((w), $theday);
> > ?>
>
> I'm pretty sure the optional second argument for date is a unix timestamp
> that you would generate by using either
Hi
I have a problem with the date function
should print 1 if today is monday, 2 if today is tuesday ...
though it's printing 4 and today is monday !
any idea ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi
i have a mysql table with events
ex : "event 1","start time and day","end time and day"
i'd like to print those events in a nice html table grouped by week
ex :
___|monday|tuesday|wednesday|
8:00|event 1|
9:00|event 1|
...
i already have a query to select all the events of the week, i just
don
5 matches
Mail list logo