brown2005 Posted May 13, 2010 Share Posted May 13, 2010 any help why this does not work please? doesnt echo anything. $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql'); $dbname = 'selmgec'; $id = $_GET['id']; mysql_select_db($dbname); $query = "SELECT * FROM emails_members"; $result = mysql_query($query); while($row = mysql_fetch_array($result, MYSQL_ASSOC)) { $test = $row['members_first']; echo"$test <br>"; } Quote Link to comment https://forums.phpfreaks.com/topic/201671-help-why-this-code-is-not-working/ Share on other sites More sharing options...
brown2005 Posted May 13, 2010 Author Share Posted May 13, 2010 delete this please. i spelt the database wrong. sorry Quote Link to comment https://forums.phpfreaks.com/topic/201671-help-why-this-code-is-not-working/#findComment-1057916 Share on other sites More sharing options...
ignace Posted May 14, 2010 Share Posted May 14, 2010 We don't delete. Mark it as solved. Quote Link to comment https://forums.phpfreaks.com/topic/201671-help-why-this-code-is-not-working/#findComment-1058115 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.