Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
$q = mysql_query("SELECT id,name,author FROM music ORDER BY id DESC") or die(mysql_error());
while($row = mysql_fetch_assoc($q))
{
echo $row['id']." ".$row['name']." ".$row['author'];
}
$sql=mysql_query('SELECT * FROM `music` ORDER BY `views` DESC LIMIT 0,1');
$row=mysql_fetch_assoc($sql);
foreach($row as $v)
{
echo 'id:'.$row['id'].'<br />';
echo 'name:'.$row['name'].'<br />';
echo 'author:'.$row['author'];
}
amgcompany каза:PHP:$q = mysql_query("SELECT id,name,author FROM music ORDER BY id DESC") or die(mysql_error()); while($row = mysql_fetch_assoc($q)) { echo $row['id']." ".$row['name']." ".$row['author']; }