I don't see why that doesnt work... I would echo your values first to make
sure the values you want in $foo and $bar are the right ones... It looks to
me that your expression is correct...
Rick
Sorry for the stupid question...
I want to do
$this=$foo/$bar; (All are integers.)
Cheers Rich!
I had $numrows instead of $num_rows - Doh!
I said too instead of two - double Doh!
- seb
-Original Message-
From: Richard Baskett [mailto:[EMAIL PROTECTED]]
Sent: 19 October 2001 11:30
To: Seb Frost; PHP General
Subject: Re: [PHP] Dividing too integers...
I don't see
try this..
$temp = ($foo%$bar);
$this=$temp/$bar;
- Original Message -
From: Seb Frost [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 19, 2001 6:20 AM
Subject: [PHP] Dividing too integers...
Sorry for the stupid question...
I want to do
$this=$foo/$bar; (All
3 matches
Mail list logo