Hi Everyone,
Very new to php, and have a question: How do I select a specific row of information?
For example: I have the filename of an image i want to display in the field "Img" and it's in the third row.
Right now I'm coding like this:
$files = mysql_query("SELECT Img, Txt, Id FROM db");
$row = mysql_fetch_array($files);
<img src="<?=$row[0][3]?>" />
The result gives me a blank space in the outputted html.
How can I select the third entry in the field Img?
PLEASE help asap. I appreciate any ideas!!
Matt