$getit = "SELECT * FROM `data` WHERE `id` = $id LIMIT 1";
echo "getit - $getit<BR>";
$res = mysql_query($getit);
echo"res - $res<BR>";
$arr = mysql_fetch_row($res) or die("Error");
echo"arr - $arr<BR>";
$origsubj = $arr['subject'];
echo"orig - $origsubj<BR>";
here is the output:
getit - SELECT * FROM `data` WHERE `id` = 54469519 LIMIT 1
res - Resource id #11
arr - Array
orig -
please help...
thanks in advance