View Single Post
Old 09-07-2021, 09:35 PM  
k33n
Confirmed User
 
Join Date: Feb 2009
Posts: 201
Code:
$sql = "select * from " . $table . " where id=?";

try
{
$stmt = $db->prepare($sql_str);
Replace $sql_str with $sql
k33n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote