MDanz Posted November 12, 2009 Share Posted November 12, 2009 <?php mysql_connect("localhost", "Master", "password"); mysql_select_db("Login"); $wall = mysql_query("SELECT wallpaper FROM Users WHERE username = 'Admin'")or die (mysql_error()); $background = $wall['wallpaper']; echo "$background"; echo "test"; ?> blank page.. i've looked in phpmyadmin there is data in the cell. It won't echo though. the other echo "test" works. Link to comment https://forums.phpfreaks.com/topic/181283-solved-mysql-statement-not-working/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.