Jump to content

[SOLVED] Syntax Question


Lambneck

Recommended Posts

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

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.