This page should redirect

 

iIf not click here

// content for betsie van der meer for non flash browsers require_once ("Connections/database_php4.php"); // escape quotes and apostrophes if magic_quotes_gpc off if (!get_magic_quotes_gpc()) { foreach($_POST as $key=>$value) { $temp = addslashes($value); $_POST[$key] = $temp; } } $db = new Database($hostname, $username, $password, $database); $sql = "SELECT profile1, profile2, profile3 FROM profile"; $result = mysql_query($sql); $num_profiles = mysql_num_rows($result); echo '

Number of profiles: ',$num_profiles.'

'; for ($i=0; $i < $num_profiles; $i++ ) { $row = mysql_fetch_array($result); echo '

'; echo stripslashes($row['profile1']); echo stripslashes($row['profile2']); echo stripslashes($row['profile3']); echo'

'; } $sql = "SELECT gname, gcaption1 FROM gallery"; $result = mysql_query($sql); $num_titles = mysql_num_rows($result); echo '

Number of Titles: ',$num_titles.'

'; for ($i=0; $i < $num_titles; $i++ ) { $row = mysql_fetch_array($result); echo '

'; echo stripslashes($row['gname']); echo'

'; echo stripslashes($row['gcaption1']); echo'

'; } $sql = "SELECT caption FROM photo"; $result = mysql_query($sql); $num_caption = mysql_num_rows($result); echo '

Number of Captions: ',$num_caption.'

'; for ($i=0; $i < $num_caption; $i++ ) { $row = mysql_fetch_array($result); echo '

'; echo stripslashes($row['caption']); echo'

'; } // Close link to database server $db->close(); ?>