php-db | 2001072
Date: 07/25/01
- Next message: Dave Watkinson: "RE: [PHP-DB] Re: another php/mysql problem"
- Previous message: Chris Hobbs: "Re: [PHP-DB] Re: Making a new row in HTML tables"
- In reply to: Chris Hobbs: "Re: [PHP-DB] Re: Making a new row in HTML tables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> $rows = $cols + ceil(($numdata-($cols*$cols))/$cols);
Seb suggested a much easier way:
$rows = ceil($numdate/$cols);
-- Chris Hobbs Silver Valley Unified School District Head geek: Technology Services Coordinator webmaster: http://www.silvervalley.k12.ca.us/~chobbs/ postmaster: chobbs <email protected>-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Dave Watkinson: "RE: [PHP-DB] Re: another php/mysql problem"
- Previous message: Chris Hobbs: "Re: [PHP-DB] Re: Making a new row in HTML tables"
- In reply to: Chris Hobbs: "Re: [PHP-DB] Re: Making a new row in HTML tables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

