I believe I have this query formatted corrected, but it keeps giving me my error message I set up. Is there something I'm missing?
<?php
// Get what biz unit this document is
$imagenum = $HTTP_GET_VARS['key'];
// Get Long Name from the bizUnits Table
$query_bizUnits = "SELECT longBU FROM bizUnits WHERE key='$imagenum'";
$list_bizUnits = mysql_query($query_bizUnits)
or die("Couldn't execute query Get Long BU Names");
$row_bizUnits = mysql_fetch_assoc($list_bizUnits);
$totalRows_bizUnits = mysql_num_rows($list_bizUnits);
?>
Thanks for the help!