Re: mysql functions
| From: | Eric Bolikowski | Date: | Tue, 10 Feb 2004 11:26:20 +0000 |
| Subject: | Re: mysql functions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177265@lists.php.net to get a copy of this message | ||
Would advise mysql_fetch_row()
"Angelo Zanetti" <binc2@ctech.ac.za> wrote in message
news:BPEOIJEFGCBLOABOGLIDOEDPDHAA.binc2@ctech.ac.za...
> I have a query which returns only 1 row, which of the following would be
the
> best to get the value from the resultset:
>
> mysql_result()
> mysql_fetch_field()
> mysql_fetch_row()
>
> the resultset only returns 1 column, so basically its only 1 field i get
> from the resultset.
>
> thanx in advance.
> angelo
>
> --------------------------------------------------------------------
> Disclaimer
> This e-mail transmission contains confidential information,
> which is the property of the sender.
> The information in this e-mail or attachments thereto is
> intended for the attention and use only of the addressee.
> Should you have received this e-mail in error, please delete
> and destroy it and any attachments thereto immediately.
> Under no circumstances will the Cape Technikon or the sender
> of this e-mail be liable to any party for any direct, indirect,
> special or other consequential damages for any use of this e-mail.
> For the detailed e-mail disclaimer please refer to
> http://www.ctech.ac.za/polic or call +27 (0)21 460 3911