If you've typed your code in accurately then...
> $detailqry = "SELECT id, parentitemid, itemtypeid, itemstatusid,
[etc]
> $result = mysql_query($detailqry) or die("Failed finding
> task details");
somewhere in about here you want to have something like:
$sqldata = mysql_fetch_array($result);
> $taskid = $result["id"];
[etc]
... and if you are doing a query that will return more than one row then
you should also look at some sort of looping mechanism to step through
your result set.
CYA, Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php