In message <[EMAIL PROTECTED]
ph>, Ega <[EMAIL PROTECTED]> writes
>My problem is the method of one of my classes seems to return only one
>record. I have attached all the files which contains the scripts that i
>used. Please help me analyze and look for the solution to my problem.

You only *ask* for one record, because in viewHealthInst(), you have

>$row = $this->fetch_array($result);

Fetch_array is only 'designed' to fetch one row at a time.

-- 
Pete Clark

http://www.hotcosta.com
http://www.spanishholidaybookings.com




Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to