is posible to have array normal forman array objects
the result of a query is an array objects;
is possible to transform it in an array standard?
Re: is posible to have array normal forman array objects
On Jul 11, 2:50 pm, artev <mailnotspa... [at] notspamm.nn> wrote:
> the result of a query is an array objects;
> is possible to transform it in an array standard?
Difficult to say since you haven't told us what database you're using.
The *_fetch_object functions will return objects, while the
*_fetch_array functions will return arrays.
RTFM.
Re: is posible to have array normal forman array objects
Il Wed, 11 Jul 2007 12:17:47 -0700, ZeldorBlat ha scritto:
> On Jul 11, 2:50 pm, artev <mailnotspa... [at] notspamm.nn> wrote:
>> the result of a query is an array objects;
>> is possible to transform it in an array standard?
>
> Difficult to say since you haven't told us what database you're using.
>
> The *_fetch_object functions will return objects, while the
> *_fetch_array functions will return arrays.
I use mysql
$query =
"SELECT *
FROM tab1, tab2
WHERE tab1.id = $my_id
AND tab2.nme = $my_name "
the query is an array with objects;
I want cahnge this array