maharamDan
IS-IT--Management
Hello I am doing a simple array fetch:
if($rss=mysql_query($query))
{
while($rs1=mysql_fetch_array($rss))
{
echo "<img src=\"image/rs1[imagename].jpg\"> ";
}
Imagename is the name of my image in the database.
My problem is that I cant get the imagename to print out in front of jpg.
How would I properly code this. If I display imagename by itself it echo's out.
Thanks Much.
if($rss=mysql_query($query))
{
while($rs1=mysql_fetch_array($rss))
{
echo "<img src=\"image/rs1[imagename].jpg\"> ";
}
Imagename is the name of my image in the database.
My problem is that I cant get the imagename to print out in front of jpg.
How would I properly code this. If I display imagename by itself it echo's out.
Thanks Much.