( ! ) Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/vhosts/isaris.nl/httpdocs/ppm/watersport/funcs/functions.db.php on line 13
Call Stack
#TimeMemoryFunctionLocation
10.0026232968{main}( ).../tags.php:0
20.0049234328include( '/var/www/vhosts/isaris.nl/httpdocs/ppm/watersport/incs/config.php' ).../tags.php:3
30.0089257632include( '/var/www/vhosts/isaris.nl/httpdocs/ppm/watersport/incs/addcode.php' ).../config.php:75
40.0089259264db_connect_all( ).../addcode.php:14
50.0093260776mysql_connect ( ).../functions.db.php:13
TableStyle = $Style; } function HeaderStyle($Style) //function to set CSS styles for header row { $this->HeaderStyle = $Style; } function RowStyle($Style) //function to set CSS styles for rows { $this->RowStyle = $Style; } function AltRowStyle($Style) //function to set CSS styles for alternate rows { $this->AltRowStyle = $Style; } function FooterStyle($Style) //function to set CSS styles for footer row { $this->FooterStyle = $Style; } function PrintTable() //function to print table or error list { if(empty($this->Errors)){ switch($this->QryType){ case "select": //SELECT STATEMENTS $Result = mysql_query($this->StrQuery); $Table = "TableStyle}\">"; if(mysql_error()){ $Table.="HeaderStyle}\">"; $Table.="RowStyle}\">"; }else{ //Header Row with Field Names $NumFields = mysql_num_fields($Result); $Table.= "HeaderStyle}\">"; for ($i=0; $i < $NumFields; $i++){ $Table.= ""; } $Table.= ""; //Loop thru results $RowCt = 0; //Row Counter while($Row = mysql_fetch_assoc($Result)){ //Alternate colors for rows if(isset($this->AltRowStyle)){ if($RowCt++ % 2 == 0) $Style = $this->RowStyle; else $Style = $this->AltRowStyle; }else{ $Style = $this->RowStyle; } $Table.= ""; //Loop thru each field foreach($Row as $field => $value){ if(is_numeric($value)){ $cellstyle = "align=right"; }else{ $cellstyle = "align=left"; } $Table.= ""; } $Table.= ""; } $Table.= "FooterStyle}\">"; } $Table.="
MySQL Error Occurred:
MySQL Error: " . mysql_error() . "
" . mysql_field_name($Result, $i) . "
$value

Query returned " . mysql_num_rows($Result) . " records

"; break; default: //Everything Else mysql_query($this->StrQuery); $Table = "TableStyle}\">"; if(mysql_error()) { $Table.="HeaderStyle}\">"; $Table.="RowStyle}\">"; } else { $Table.="HeaderStyle}\">"; $Table.="RowStyle}\">"; $Table.="FooterStyle}\">"; } $Table.="
MySQL Error Occurred:
MySQL Error: " . mysql_error() . "
Successfully Executed Query!
Query String: {$this->StrQuery}
Query Affected " . mysql_affected_rows() . " Rows
"; break; } return $Table; }else{ $Table = "The Following Errors occurred initializing the table class:
"; $Table .= ""; return $Table; } } function SqlTable($Query) //Constructor function { $AppTypes = array("select", "delete", "insert", "update"); //Applicable Query Types $Query = trim($Query); //Trim excess spaces $Pos = strpos($Query, " "); //Find position of first space $Type = strtolower(substr($Query, 0, $Pos)); //Query type is the first word of the query if(in_array($Type, $AppTypes)) { //if the query type is in the array of applicable query types $this->StrQuery = $Query; $this->QryType = $Type; } else { //If not, produce error $this->Errors[] = "Query type ($Type) is not available"; } } } ?>
( ! ) Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/vhosts/isaris.nl/httpdocs/ppm/watersport/funcs/functions.db.php on line 13
Call Stack
#TimeMemoryFunctionLocation
10.0026232968{main}( ).../tags.php:0
20.0148283288include( '/var/www/vhosts/isaris.nl/httpdocs/ppm/watersport/sql/get_properties.php' ).../tags.php:10
30.0148283288db_connect_all( ).../get_properties.php:4
40.0148284200mysql_connect ( ).../functions.db.php:13

( ! ) Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/vhosts/isaris.nl/httpdocs/ppm/watersport/funcs/functions.db.php on line 13
Call Stack
#TimeMemoryFunctionLocation
10.0026232968{main}( ).../tags.php:0
20.0163286056include( '/var/www/vhosts/isaris.nl/httpdocs/ppm/watersport/sql/get_tags.php' ).../tags.php:18
30.0163286056db_connect_all( ).../get_tags.php:3
40.0163286952mysql_connect ( ).../functions.db.php:13
WATERSPORT MOVIES
Contact
Browse

search results: