Hello matt,
even better is ceil() or floor()
Saturday, September 22, 2001, 11:53:44 PM, you wrote:
Better than substr is to cast the variable to be an int
--
Best regards,
slavkomailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To
Hello Tyler,
try
$percent = ceil(100*$num_games/$total_games);
--
Best regards,
slavkomailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
Hello Adrian,
no short and simple solution
select * from policies
while(policies){
select count(*) from topics
if(records) echo link
else echo nolink
}
Wednesday, September 19, 2001, 12:11:05 PM, you wrote:
ADC Hi,
ADC I have two table:
ADC policies:
id == auto increment, primary
Hello Christian,
you must register first, then set the value!
session_register("script_total_time");
$script_total_time=(float)$total_time;
$step_times_array[$step]=$total_time;
session_register("step_times");
$step_times=serialize($step_times_array);
Tuesday, April 03, 2001, 2:35:10 AM, you
4 matches
Mail list logo