Jump to content

[SOLVED] mysql statement not working?


MDanz

Recommended Posts

<?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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.