Lambneck Posted April 16, 2008 Share Posted April 16, 2008 Can anyone see anything wrong with this code? Im not getting an error message... just a blank page. $table = 'ft_form_1'; if (!mysql_connect($db_host, $db_user, $db_pwd)) die("Can't connect to database"); if (!mysql_select_db($database)) die("Can't select database"); $result = mysql_query("SELECT submission_id, col_4 FROM $table ORDER BY submission_date DESC"); if (!$result) { die("Query to show fields from table failed:".mysql_error()); } echo '<a href="ResumeDisplay.php?id='.$row['submission_id'].'">'.$row['col_4'].'</a>'; echo "<br />"; } mysql_free_result($result); ?> Link to comment https://forums.phpfreaks.com/topic/101303-solved-syntax-question/ Share on other sites More sharing options...
trq Posted April 16, 2008 Share Posted April 16, 2008 Turn error reporting and display errors on. Link to comment https://forums.phpfreaks.com/topic/101303-solved-syntax-question/#findComment-518140 Share on other sites More sharing options...
Lambneck Posted April 16, 2008 Author Share Posted April 16, 2008 how to do that? :-\ Link to comment https://forums.phpfreaks.com/topic/101303-solved-syntax-question/#findComment-518165 Share on other sites More sharing options...
redarrow Posted April 16, 2008 Share Posted April 16, 2008 it in ur php.ini............. overwise please read this please... http://uk.php.net/manual/en/function.error-reporting.php Link to comment https://forums.phpfreaks.com/topic/101303-solved-syntax-question/#findComment-518176 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.