$info = $db->query_read(" SELECT testid FROM test"); while ($info_rec= $db->fetch_array($info)) { $testid; //var_dump($attachment);//exit; eval('$postbit_test = "' . fetch_template('postbit_test') . '";'); $debug=2; }