"; //Using GET $poemario_view = $_GET['poemario_view']; $sqlhostname = "mfmedina.fatcowmysql.com"; $login = "medina1"; $password = "tt031802"; $base = "mfm"; $db_connect = mysql_connect($sqlhostname,$login,$password); $base_selection = mysql_select_db($base,$db_connect); $query = "SELECT * FROM bernardez WHERE poemario_id = $poemario_view ORDER by poem_order ASC"; $req = mysql_query($query); if (!$req) { echo "Error ".mysql_errno()." : ".mysql_error().""; exit; } $res = mysql_num_rows($req); if ($res == 0) { echo "
Sorry there is no result.
";} else echo ""; } echo "


"; include 'footer.php'; ?>