Posted by JackM on 01/21/06 21:18
Geoff Berrow wrote:
> Message-ID: <Tv6dnRECt6mD80_eRVn-rQ@comcast.com> from JackM contained
> the following:
>
>
>>Can anyone show me the error of my ways? It's probably something dumb
>>but I've worked on this for two days now trying all kinds of variations
>>and can't get it to work. Thanks for any help.
>
<snip Geoff's code that worked>
Thanks Geoff. Does the fact that you rewrote nearly the entire code mean
that I had butchered it completely?
I can follow most of what you did but there are two lines that are
foreign to me:
$spaces=($lines%$cols>0)? 1 : 0;
$rows=floor($lines/$cols)+$spaces;
Can you give me a quick idea of what those do? They are a little beyond
my PHP vocabulary right now. Thanks for your help.
[Back to original message]
|