For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > June 2004 > Re: [PHP-DB] return array









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] return array
Sam Chill

2004-06-26, 3:59 am

Instead of
return $field[];
try
return $field;
Sukanto Kho

2004-06-26, 3:59 am

Yeah I have try that... and when I : echo $field[1]
appear error msg : "Undefined offset: 1 "


----- Original Message -----
From: "Sam Chill" <samchill@gmail.com>
To: "PHP DB Help" <php-db@lists.php.net>
Sent: Saturday, June 26, 2004 11:21 AM
Subject: Re: [PHP-DB] return array


> Instead of
> return $field[];
> try
> return $field;
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com