On Wed, Jun 27, 2001 at 07:26:53AM -0600, Thomas David Kehoe wrote :
[...]
> $my_records = new Display_Records;
[...]
> <?php
>
> class Display_Records {
>
> function display_records($row, $record_count) {
The constructor of your class assumes two parameters;
you're creating an instance without passing those values.
$my_records = new Display_Records( $param1, $param2);
is the proper syntax.
- Markus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]