include_once("core/config.php"); $clean_ship_name=str_replace("-"," ",$_GET['ship_name']); $query_ship="SELECT * FROM navi WHERE nome_nave='$clean_ship_name'" or die("Error in the consult.." . mysqli_error($link)); $ship_data=mysqli_query($link_companies_data, $query_ship); while($data=mysqli_fetch_array($ship_data)) { $ship_id=$data['id_nave']; $ship_caption=$data['caption']; $ship_excerpt=$data['descrizione_breve']; $ship_description=$data['descrizione_dettagliata']; $anno_costruzione=$data['anno_costruzione']; $bandiera=$data['bandiera']; $stazza=$data['stazza']; $lunghezza=$data['lunghezza']; $larghezza=$data['larghezza']; $altezza=$data['altezza']; $superficie=$data['superficie']; $numero_ponti=$data['nro_ponti']; $numero_ascensori=$data['nro_ascensori']; $voltaggio_cabine=$data['voltaggio_cabine']; $velocita_massima=$data['velocita_massima']; $stabilizzatori=$data['stabilizzatori']; $numero_passeggeri=$data['nro_passeggeri']; $numero_cabine=$data['nro_cabine']; $numero_equipaggio=$data['nro_equipaggio']; $numero_piscine=$data['nro_piscine']; $ambiente=$data['ambiente']; $cabine=$data['cabine']; } ?>