Re: select * From ????
| From: | Javier | Date: | Sun, 15 Dec 2002 23:27:24 +0000 |
| Subject: | Re: select * From ???? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128357@lists.php.net to get a copy of this message | ||
brucel@ispye.com (Bruce Levick) wrote in
news:FE6D82BC94316E418A3F97EF3E66AD4D204431@ispyesrv1.ispye.com:
If you want to access the data in an array try $row['field']
> I am connecting to mysql and all works well there. I query a table
> "Illustrations" ($query = "SELECT * FROM Illustrations";), and want to
> print the values of two columns ("titletext" & "img")within each row
> as the request loops.
>
> Print "<td><tr>$row[titletext]<br></td></tr>";
> Print "<td><tr>$row[img]<br></td></tr>";
> I am sorry if this is hard to understand and also a silly Q, I am two
> days into learning this stuff. All I want to do is to return these two
> values from within the table. "titletext" and "img". They are both
> text fields.
>
--
*** s2r - public key: (http://leeloo.mine.nu/s2r-gmx.sig)