$database is the object.
Select_array() is the function in the class, so...
Try putting it in front of select_array()
I don't know if this will work, but this is where I would think to put it.

$database->@select_array()

Let me know if it works.


On 4/2/01 8:15 AM, "Chris Lee" <[EMAIL PROTECTED]> wrote:

> here is my code, If select_array() does not find anything it will not return
> anything, foreach() requires an array. I rtied putting an @ inforn of
> $database-> but this didnt work (didnt think it would) and I cant put in fron
> of the foreach() I get a parse error.
> 
>  foreach($database->select_array('', 'orders, orders_product', $query) as $pos
> => $orders)
>  {
>       ...
>   }
> 


-- 
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]

Reply via email to