--- trunk/admin/include/scribe_forms.php 2004/01/27 20:42:02 18 +++ trunk/admin/include/scribe_forms.php 2004/03/04 22:43:50 42 @@ -899,8 +899,8 @@ . " AND element_id = " . $element_id; - $rs = mysql_query($sql, $con); - $row = mysql_fetch_array ($rs); + $rs = xx_query($sql, $con); + $row = xx_fetch_array ($rs); // Pull out the possible display values $location = $row["location"]; @@ -1083,8 +1083,8 @@ WHERE page_id = " . $page_id . " AND element_id = " . $element_id . " ORDER BY e.element_order"; - $rs = mysql_query($sql, $con); - $row = mysql_fetch_array ($rs); + $rs = xx_query($sql, $con); + $row = xx_fetch_array ($rs); // General element fields $element_descr = $row["element_descr"]; @@ -1416,8 +1416,8 @@ page_id = " . $page_id; */ - $rs = mysql_query($sql, $con); - $row = mysql_fetch_array ($rs); + $rs = xx_query($sql, $con); + $row = xx_fetch_array ($rs); $course_id = $row["course_id"]; $staff_id_created = $row["staff_id_created"]; @@ -1898,7 +1898,7 @@ WHERE course_id = " . $course_id . " ORDER BY personnel_id"; - $rs = mysql_query($sql, $con); + $rs = xx_query($sql, $con); // Table printf("\n"); @@ -1912,7 +1912,7 @@ printf("Personnel:
\n"); printf("\n"); - while ($row = mysql_fetch_array ($rs)) { + while ($row = xx_fetch_array ($rs)) { // Initialize $last_name = ""; @@ -2152,8 +2152,8 @@ page_id = " . $page_id; - $rs = mysql_query($sql, $con); - $row = mysql_fetch_array ($rs); + $rs = xx_query($sql, $con); + $row = xx_fetch_array ($rs); $pageheader = $row["pageheader"];