Digital Video - January 2008 - (Page 34) Flash Video Playback Data <?php <?php session_start(); $chandle = mysql_pconnect("db696.mydbserver.net", "dbo635476543", "7Yrf4Wx") or die("Connection Failure to Database"); $database="db876573524"; mysql_select_db($database, $chandle) or die ("Database not found."); $query1="select * from " . "tbl_flash_player_data"; $result = mysql_db_query($database, $query1) or die("Failed Query"); //build the html table to present results $i=0; echo " "; echo " "; while ($i < mysql_num_fields($result)) { $field_name=mysql_fetch_field($result, $i); echo " ", $field_name->name, " "; $i++; } echo " "; while ($thisrow=mysql_fetch_row($result)) { //get one row at a time echo " "; $i=0; while ($i < mysql_num_fields($result)) { //print all items in the row echo " ", $thisrow[$i], " " ; $i++; } echo " "; } echo " "; mysql_free_result($result); mysql_close($chandle); ?> 34 dv january 2008 www.dv.com http://www.godaddy.com http://www.1and1.com http://www.dv.com
For optimal viewing of this digital publication, please enable JavaScript and then refresh the page. If you would like to try to load the digital publication without using Flash Player detection, please click here.