Re: [PHP] query_data

2003-12-06 Thread Randy Johnson
olmes" <[EMAIL PROTECTED]> To: "Randy Johnson" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, December 06, 2003 10:04 AM Subject: Re: [PHP] query_data > Randy Johnson wrote: > > I have a query > > > > $query="se

Re: [PHP] query_data

2003-12-06 Thread John W. Holmes
Randy Johnson wrote: I have a query $query="select a,b,c,d,e from table where id='z'"; $result=mysql_query(); $query_data=mysql_fetch_array($result); I normally would do this: $a=$query_data["a"]; etc.. is there a way to do this is in a loop so I do not have to do all that typing? You already ha

Re: [PHP] query_data

2003-12-06 Thread zhuravlev alexander
On Sat, Dec 06, 2003 at 09:34:24AM -0500, Randy Johnson wrote: > I have a query > > $query="select a,b,c,d,e from table where id='z'"; > $result=mysql_query(); > > $query_data=mysql_fetch_array($result); > > I normally would do this: > > $a=$query_data["a"]; > etc.. > > is there a way to do t

[PHP] query_data

2003-12-06 Thread Randy Johnson
I have a query $query="select a,b,c,d,e from table where id='z'"; $result=mysql_query(); $query_data=mysql_fetch_array($result); I normally would do this: $a=$query_data["a"]; etc.. is there a way to do this is in a loop so I do not have to do all that typing? Thanks Randy -- PHP General M