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>"; } 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 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. 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
Archived
This topic is now archived and is closed to further replies.