connect ( ); $database->prepare ( "SELECT links.URL FROM links WHERE links.ID = :link_id" ); $database->bind ( [ ':link_id' => $link_id ] ); $database->execute ( ); $result = $database->get_result ( ); if ( $result->rowCount ( ) == 0 ) { http_response_code ( 404 ); include ( $config [ 'installation_path' ] . '/lib/errors/404.html' ); exit; } else { $row = $result->fetchAll ( ) [ 0 ]; ?> Redirecting to <?=$row['URL']?> | <?=$config['website_name']?>

You will be redirected to in 5