Code:
<?php $conn = mysql_connect("localhost","star_zedge","password","true") or die(mysql_error()); mysql_select_db("star_game",$conn); $sql = "SELECT * FROM 176x220"; $result = mysql_query($sql,$conn) or die(mysql_error()); while ($row = mysql_fetch_assoc($result)) { echo"<br/>"; echo"Filename: {$row['filename']}"; echo"<br/>"; } ?>
i have created star_game name database but when try to connect star_game database then i get this "No database selected" error but when i connect another database then work fine with this code.
i think its phpmyadmin problem
plzz expert masters any say solution of this problem
Comment