Quote:
Originally Posted by k33n
Code:
$sql = "select * from " . $table . " where id=?";
try
{
$stmt = $db->prepare($sql_str);
Replace $sql_str with $sql
|
K33n,
I gave that a try and its still showing a blank page, this is the error from the logs:
Quote:
#0 /blah/blah/domain.com/recipesnew.php(119): PDO->__construct('mysql:host=;dbn...', NULL, NULL, Array)
#1 /blah/blah/domain.com/recipesnew.php(18): hookitup()
#2 {main}
thrown in /blah/blah/domain.com/recipesnew.php on line 119
|