im not sure what you are tryin to do with the code...but your sql query is not getting executed any where....
$sql = "select * from something";
$res = mysql_query($sql);
$row = mysql_fetch_row($res);
$img_src = $row[1];
you code should be something like this ...
dos_killer
Junior Poster in Training
50 posts since Dec 2010
Reputation Points: 15
Solved Threads: 4
that means either you are passing the wrong parameter to the function or your query is wrong or query is not returning any rows...
i suggest you read up an online tutorial on this first and then proceed with your project ...
dos_killer
Junior Poster in Training
50 posts since Dec 2010
Reputation Points: 15
Solved Threads: 4
while($row=mysql_fetch_row($result))
{
}
dos_killer
Junior Poster in Training
50 posts since Dec 2010
Reputation Points: 15
Solved Threads: 4