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. Quote Link to comment https://forums.phpfreaks.com/topic/181283-solved-mysql-statement-not-working/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.