$row['nc_boxes_id'], 'name' => $row['box_name'], 'pos' => $row['box_pos'], 'order'=> $row['box_order'] ); } $result = mysql_query(" SELECT * FROM nc_boxes WHERE box_pos = 'off' ORDER BY box_order "); while(($row = mysql_fetch_array($result) )) { $boxes[] = array('id' => $row['nc_boxes_id'], 'name' => $row['box_name'], 'pos' => $row['box_pos'], 'order'=> $row['box_order'] ); } $result = mysql_query(" SELECT * FROM nc_boxes WHERE box_pos = 'right' ORDER BY box_order "); while(($row = mysql_fetch_array($result) )) { $boxes[] = array('id' => $row['nc_boxes_id'], 'name' => $row['box_name'], 'pos' => $row['box_pos'], 'order'=> $row['box_order'] ); } return $boxes; } ?>
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/vhosts/motor-lit-berlin.de/httpdocs/inc/xtc_db_connect.inc.php:33 Stack trace: #0 /var/www/vhosts/motor-lit-berlin.de/httpdocs/includes/application_top.php(190): xtc_db_connect() #1 /var/www/vhosts/motor-lit-berlin.de/httpdocs/popup_image.php(23): require('/var/www/vhosts...') #2 {main} thrown in /var/www/vhosts/motor-lit-berlin.de/httpdocs/inc/xtc_db_connect.inc.php on line 33