samoi
10-15-2009, 08:05 AM
Hello guys!
I have the following code !
<?
// mysql_connect(........
// select db ........
$SQL = mysql_query("SELECT * FROM pictures limit 10");
while($row = mysql_fetch_array($SQL)){
echo '<img src="'.$row['picName'].'" />'; // I am sick of thinking about this! where should the extension would appear ? how the src value will be posted here?
}
?>
Help me please!
I have the following code !
<?
// mysql_connect(........
// select db ........
$SQL = mysql_query("SELECT * FROM pictures limit 10");
while($row = mysql_fetch_array($SQL)){
echo '<img src="'.$row['picName'].'" />'; // I am sick of thinking about this! where should the extension would appear ? how the src value will be posted here?
}
?>
Help me please!