Location: PHPKode > scripts > New DB Class > new-db-class/doc.html
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Frameset//EN''http://www.w3.org/TR/REC-html40/frameset.dtd'>
<!--NewPage-->
<HTML>
<HEAD>
	<!-- Generated by PhpDoc date: 'Mon,  2 Dec 2002 00:13:20 +0100' -->
	<TITLE>Docs For Class db</TITLE>
<LINK REL ='stylesheet' TYPE='text/css' HREF='stylesheet.css' TITLE='Style'>
</HEAD>
<BODY BGCOLOR='white'>

<!-- Start of Class Data -->
<H2>
	Class db
</H2>
<pre>
db
</pre>
<H3>
	Classes extended from db:
</H3>

<p>
	<b><i>Located in File: Program_Root/mysql_db_class.php</i></b><br>
</p>
<hr>
<!-- ========== Info from phpDoc block ========= -->
<b>class mysql_db_class</b>
<pre>
Trida urcena pro pristup k MySQL databazi. Obsahuje vsechny zname PHP
 funkce pro praci s MySQL + mnoho dalsich uzitecnych funkci, ktere jsou
 bud kopii jinych PHP funkci, nebo jsou vytvoreny z existujicich funkci
 a slouzi k ulehceni programatorske prace. Posledni aktualni verzi tridy
 naleznete na <a href="http://www.komplikator.cz/db_class.php">homepage tridy</a>.
</pre>
<UL>
	
	<LI><b>Package</b> - <CODE>db_class</CODE></LI>
	
	<LI><b>Author</b> - <CODE>Jiri Kocman - hide@address.com</CODE></LI>
	
	<LI><b>Version</b> - <CODE>$Id: mysql_db_class.php,v 1.9 2002/12/01 22:57:47 jirka Exp $</CODE></LI>
	
</UL>

<hr>
<!-- =========== VAR SUMMARY =========== -->
<A NAME='var_summary'><!-- --></A>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
		<TD>
			<FONT SIZE='+2'><B>Class Variable Summary</B></FONT>
		</TD>
	</TR>

	
</TABLE>

<hr>
<!-- =========== VAR SUMMARY =========== -->
<A NAME='var_summary'><!-- --></A>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
		<TD>
			<FONT SIZE='+2'><B>Inherited Class Variable Summary</B></FONT>
		</TD>
	</TR>

	
</TABLE>

<hr>
<!-- =========== INHERITED METHOD SUMMARY =========== -->
<A NAME='functions_inherited'><!-- --></A>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
		<TD>
			<FONT SIZE='+2'><B>Inherited Method Summary</B></FONT>
		</TD>
	</TR>

	
</TABLE>

<br>
<!-- should have constructor at some point -->
<!-- =========== Method SUMMARY =========== -->
<A NAME='Method_summary'><!-- --></A>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
		<TD>
			<FONT SIZE='+2'><B>Method Summary</B></FONT>
		</TD>
	</TR>

	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#constructor db'>class db ( $server, $user, $pass, [$new = false], $db )</A></B></CODE>
			<BR>
			<blockquote> Konstruktor tridy </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_field_seek'>bool db_field_seek ( $polozka, $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_field_seek() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_field_table'>string db_field_table ( $polozka, $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_field_table() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_field_len'>string db_field_len ( $polozka, $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_field_len() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_fetch_object'>object db_fetch_object ( $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_fetch_object() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_field_flags'>string db_field_flags ( $polozka, $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_field_flags() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_drop_db'>bool db_drop_db ( $database, $conn )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_drop_db() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_free_result'>bool db_free_result ( $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_free_result() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_create_db'>string db_create_db ( $database, $conn )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_create_db() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_dbname'>string db_dbname ( $radek, $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_dbname() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_field_type'>string db_field_type ( $polozka, $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_field_type() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_fetch_field'>object db_fetch_field ( $polozka, $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_fetch_field() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_list_fields'>resource db_list_fields ( $table, $db, $conn )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_list_fields() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_get_host_info'>string db_get_host_info ( $conn )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_get_host_info() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_get_proto_info'>string db_get_proto_info ( $conn )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_get_proto_info() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_get_server_info'>string db_get_server_info ( $conn )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_get_server_info() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#getPHPVersion'>double getPHPVersion (  )</A></B></CODE>
			<BR>
			<blockquote> Vraci ciselne vyjadreni verze PHP </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_get_client_info'>string db_get_client_info (  )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_get_client_info() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_fetch_lengths'>integer db_fetch_lengths ( $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_fetch_lengths() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_list_dbs'>string db_list_dbs ( $conn )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_list_dbs() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_list_tables'>bool db_list_tables ( $db, $conn )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_list_tables() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_tablename'>string db_tablename ( $radek, $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_tablename() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_escape_string'>string db_escape_string ( $tmp )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_escape_string() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_num_fields'>integer db_num_fields ( $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_num_fields() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Close'>void db_Close ( $conn )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_close() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_pConnect'>ResourceID &db_pConnect ( $server, $user, $pass )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_pconnect() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Connect'>ResourceID &db_Connect ( $server, $user, $pass, [$new = false] )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_connect() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Select_DB'>bool &db_Select_DB ( $db, $conn )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_select_db() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Query'>resource &db_Query ( $query, $conn )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_query() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#debug'>void debug ( [$DEBUG = 1], [$SHOW_ERROR = 1], $LOG_ERROR, $ERRORLOG )</A></B></CODE>
			<BR>
			<blockquote> Zapinani / vypinani debug modu

 Zapinani / vypinani debug modu. Zapne, vypne a nastavi moznost logovani a zobrazovani chyb. </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#explain'>void explain ( $query )</A></B></CODE>
			<BR>
			<blockquote> Funkce provede EXPLAIN SQL dotazu a zobrazi jej v HTML tabulce </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#show_data'>string show_data ( $result, $from, $to, [$csv = FALSE], $separator, [$crlf = &quot;\r\n&quot;] )</A></B></CODE>
			<BR>
			<blockquote> Funkce pripravi data ziskane SQL dotazem. Data lze nafirmatovat bud do jednoduche HTML tabulky
 nebo do CSV formatu. Pripadne lze definovat vlastni separator a CRLF - prechod na dalsi radek. </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#userLog'>void userLog ( $ULOG, $SHOW_MESSAGE, $LOG_MESSAGE, $USERLOG, [$PRECISION = 5] )</A></B></CODE>
			<BR>
			<blockquote> Zapinani / vypinani userlogu

 Zapinani / vypinani userlogu. Zapne, vypne a nastavi moznost logovani a zobrazovani SQL dotazu vcetne casu provadeni. </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#_error'>false _error ( $_errorNo, $_errorStr, $_query )</A></B></CODE>
			<BR>
			<blockquote> Interni funkce zapisuje chybovou hl&aacute;šku do error logu </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#_writeUserLog'>false _writeUserLog ( $_query, $_time )</A></B></CODE>
			<BR>
			<blockquote> Interni funkce zapisuje hl&aacute;šku do user logu </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Db_Query'>resource &db_Db_Query ( $query, $db, $conn )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_db_query() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Unbuffered_Query'>resource &db_Unbuffered_Query ( $query, $conn )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_unbuffered_query() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Fetch_All_Into'>integer db_Fetch_All_Into ( &$pole, $sql )</A></B></CODE>
			<BR>
			<blockquote> Obdoba db_fetch_into(). </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Result'>string db_Result ( $radek, $sloupec, $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_result() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Insert_Id'>integer db_Insert_Id (  )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_insert_id() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Data_Seek'>bool db_Data_Seek ( $radek, $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_data_seek() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Fetch_Into'>integer db_Fetch_Into ( $sloupec, &$pole, $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent odbc_fetch_into() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Fetch_Assoc'>array db_Fetch_Assoc ( $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_fetch_assoc() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Num_Rows'>integer db_Num_Rows ( $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_num_rows() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Affected_Rows'>integer db_Affected_Rows ( $conn )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_affected_rows() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Fetch_Row'>array db_Fetch_Row ( $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_fetch_row() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_Fetch_Array'>array db_Fetch_Array ( $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_fetch_array() </blockquote>
		</TD>
	</TR>
	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='db.html#db_field_name'>string db_field_name ( $sloupec, $sql )</A></B></CODE>
			<BR>
			<blockquote> Ekvivalent mysql_field_name() </blockquote>
		</TD>
	</TR>
	
</TABLE>

<hbr>
<!-- ============ VARIABLE DETAIL =========== -->

<A NAME='variable_detail'></A>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
		<TD>
			<FONT SIZE='+2'><B>Variable Detail</B></FONT>
		</TD>
	</TR>
</TABLE>



<hr>
<!-- ============ FUNCTION DETAIL =========== -->

<A NAME='function_detail'></A>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
		<TD>
			<FONT SIZE='+2'><B>Method Detail</B></FONT>
		</TD>
	</TR>
</TABLE>


<A NAME='constructor db'><!-- --></A><H3>constructor db</H3>
<P><B>class db ( $server, $user, $pass, [$new = false], $db )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Konstruktor tridy</b>
<pre>
Konstruktor tridy vytvori pripojeni k databazi a pripadne zvoli zadanou databazi
</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$server</i> string  databazovy server</CODE></DD>
	
	<DD>- <CODE><i>$user</i> string  databazovy user</CODE></DD>
	
	<DD>- <CODE><i>$pass</i> string  databazove heslo</CODE></DD>
	
	<DD>- <CODE><i>$new</i> bool  vytvaret nove spojeni (pouze v PHP 4.2+)</CODE></DD>
	
	<DD>- <CODE><i>$db</i> string  nazev databaze</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Return</b> - <CODE>link</CODE></DD>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_field_seek'><!-- --></A><H3>db_field_seek</H3>
<P><B>bool db_field_seek ( $polozka, $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_field_seek()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$polozka</i> integer  cislo sloupce</CODE></DD>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_field_table'><!-- --></A><H3>db_field_table</H3>
<P><B>string db_field_table ( $polozka, $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_field_table()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$polozka</i> integer  cislo sloupce</CODE></DD>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_field_len'><!-- --></A><H3>db_field_len</H3>
<P><B>string db_field_len ( $polozka, $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_field_len()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$polozka</i> integer  cislo sloupce</CODE></DD>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_fetch_object'><!-- --></A><H3>db_fetch_object</H3>
<P><B>object db_fetch_object ( $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_fetch_object()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_field_flags'><!-- --></A><H3>db_field_flags</H3>
<P><B>string db_field_flags ( $polozka, $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_field_flags()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$polozka</i> integer  cislo sloupce</CODE></DD>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_drop_db'><!-- --></A><H3>db_drop_db</H3>
<P><B>bool db_drop_db ( $database, $conn )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_drop_db()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$database</i> string  nazev databaze</CODE></DD>
	
	<DD>- <CODE><i>$conn</i> resource  identifikator databazoveho spojeni</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_free_result'><!-- --></A><H3>db_free_result</H3>
<P><B>bool db_free_result ( $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_free_result()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_create_db'><!-- --></A><H3>db_create_db</H3>
<P><B>string db_create_db ( $database, $conn )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_create_db()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$database</i> string  nazev databaze</CODE></DD>
	
	<DD>- <CODE><i>$conn</i> resource  identifikator pripojeni k databazi</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_dbname'><!-- --></A><H3>db_dbname</H3>
<P><B>string db_dbname ( $radek, $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_dbname()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$radek</i> integer  poradi ve vysledku</CODE></DD>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_field_type'><!-- --></A><H3>db_field_type</H3>
<P><B>string db_field_type ( $polozka, $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_field_type()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$polozka</i> integer  cislo sloupce</CODE></DD>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_fetch_field'><!-- --></A><H3>db_fetch_field</H3>
<P><B>object db_fetch_field ( $polozka, $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_fetch_field()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$polozka</i> integer  cislo polozky vysledku</CODE></DD>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_list_fields'><!-- --></A><H3>db_list_fields</H3>
<P><B>resource db_list_fields ( $table, $db, $conn )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_list_fields()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$table</i> string  nazev tabulky</CODE></DD>
	
	<DD>- <CODE><i>$db</i> string  nazev databaze</CODE></DD>
	
	<DD>- <CODE><i>$conn</i> resource  identifikator pripojeni k databazi</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_get_host_info'><!-- --></A><H3>db_get_host_info</H3>
<P><B>string db_get_host_info ( $conn )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_get_host_info()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$conn</i> resource  identifikator databazoveho spojeni</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_get_proto_info'><!-- --></A><H3>db_get_proto_info</H3>
<P><B>string db_get_proto_info ( $conn )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_get_proto_info()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$conn</i> resource  identifikator databazoveho spojeni</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_get_server_info'><!-- --></A><H3>db_get_server_info</H3>
<P><B>string db_get_server_info ( $conn )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_get_server_info()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$conn</i> resource  identifikator databazoveho spojeni</CODE></DD>
	

	<DT>Function Info:</DT>
	
</DL>

<HR>

<A NAME='getPHPVersion'><!-- --></A><H3>getPHPVersion</H3>
<P><B>double getPHPVersion (  )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Vraci ciselne vyjadreni verze PHP</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	

	<DT>Function Info:</DT>
	
</DL>

<HR>

<A NAME='db_get_client_info'><!-- --></A><H3>db_get_client_info</H3>
<P><B>string db_get_client_info (  )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_get_client_info()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>0</i> void</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_fetch_lengths'><!-- --></A><H3>db_fetch_lengths</H3>
<P><B>integer db_fetch_lengths ( $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_fetch_lengths()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_list_dbs'><!-- --></A><H3>db_list_dbs</H3>
<P><B>string db_list_dbs ( $conn )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_list_dbs()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$conn</i> resource  identifikator databazoveho spojeni</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_list_tables'><!-- --></A><H3>db_list_tables</H3>
<P><B>bool db_list_tables ( $db, $conn )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_list_tables()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$db</i> string nazev databaze</CODE></DD>
	
	<DD>- <CODE><i>$conn</i> resource  identifikator databazoveho spojeni</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_tablename'><!-- --></A><H3>db_tablename</H3>
<P><B>string db_tablename ( $radek, $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_tablename()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$radek</i> integer  cislo radku</CODE></DD>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_escape_string'><!-- --></A><H3>db_escape_string</H3>
<P><B>string db_escape_string ( $tmp )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_escape_string()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$tmp</i> string  retezec ktery bude opatren escape sekvencemi</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_num_fields'><!-- --></A><H3>db_num_fields</H3>
<P><B>integer db_num_fields ( $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_num_fields()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_Close'><!-- --></A><H3>db_Close</H3>
<P><B>void db_Close ( $conn )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_close()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$conn</i> resource  identifikator databazoveho spojeni</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_pConnect'><!-- --></A><H3>db_pConnect</H3>
<P><B>ResourceID &db_pConnect ( $server, $user, $pass )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_pconnect()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$server</i> string  SQL server</CODE></DD>
	
	<DD>- <CODE><i>$user</i> string  SQL user</CODE></DD>
	
	<DD>- <CODE><i>$pass</i> string  SQL heslo</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_Connect'><!-- --></A><H3>db_Connect</H3>
<P><B>ResourceID &db_Connect ( $server, $user, $pass, [$new = false] )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_connect()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$server</i> string  SQL server</CODE></DD>
	
	<DD>- <CODE><i>$user</i> string  SQL user</CODE></DD>
	
	<DD>- <CODE><i>$pass</i> string  SQL heslo</CODE></DD>
	
	<DD>- <CODE><i>$new</i> bool  vytvaret novy link</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_Select_DB'><!-- --></A><H3>db_Select_DB</H3>
<P><B>bool &db_Select_DB ( $db, $conn )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_select_db()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$db</i> string  nazev databaze</CODE></DD>
	
	<DD>- <CODE><i>$conn</i> resource  identifikator pripojeni</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_Query'><!-- --></A><H3>db_Query</H3>
<P><B>resource &db_Query ( $query, $conn )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_query()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$query</i> string  SQL dotaz</CODE></DD>
	
	<DD>- <CODE><i>$conn</i> resource  identifikator pripojeni</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='debug'><!-- --></A><H3>debug</H3>
<P><B>void debug ( [$DEBUG = 1], [$SHOW_ERROR = 1], $LOG_ERROR, $ERRORLOG )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Zapinani / vypinani debug modu

 Zapinani / vypinani debug modu. Zapne, vypne a nastavi moznost logovani a zobrazovani chyb.</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$DEBUG</i> bool  1 = zapnuty debug mod, 0 = vypnuty</CODE></DD>
	
	<DD>- <CODE><i>$SHOW_ERROR</i> bool  1 = zobrazuhe chyby na strance</CODE></DD>
	
	<DD>- <CODE><i>$LOG_ERROR</i> bool  1 = loguje chyby do souboru</CODE></DD>
	
	<DD>- <CODE><i>$ERRORLOG</i> string  cesta k errorlogu. Neni li zadana, pouzije se defaultni. Vhodne uvadet absolutni cestu.</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='explain'><!-- --></A><H3>explain</H3>
<P><B>void explain ( $query )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Funkce provede EXPLAIN SQL dotazu a zobrazi jej v HTML tabulce</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$query</i> string  SQL dotaz</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='show_data'><!-- --></A><H3>show_data</H3>
<P><B>string show_data ( $result, $from, $to, [$csv = FALSE], $separator, [$crlf = &quot;\r\n&quot;] )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Funkce pripravi data ziskane SQL dotazem. Data lze nafirmatovat bud do jednoduche HTML tabulky
 nebo do CSV formatu. Pripadne lze definovat vlastni separator a CRLF - prechod na dalsi radek.</b>
<pre>
Pripravena data budou v navratove hodnote.
</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$result</i> ResourceID  identifikator SQL vysledku</CODE></DD>
	
	<DD>- <CODE><i>$from</i> integer  radek od ktereho zacne zpracovani dat</CODE></DD>
	
	<DD>- <CODE><i>$to</i> integer  radek na kterem konci zobrazeni dat. Je-li rovny 0 budou se data zpracovavat az po posledni radek vysledku</CODE></DD>
	
	<DD>- <CODE><i>$csv</i> bool  FALSE pro HTML, TRUE pro CSV</CODE></DD>
	
	<DD>- <CODE><i>$separator</i> string  separator sloupcu ve vyslednem CSV</CODE></DD>
	
	<DD>- <CODE><i>$crlf</i> string  oddelovac radku</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='userLog'><!-- --></A><H3>userLog</H3>
<P><B>void userLog ( $ULOG, $SHOW_MESSAGE, $LOG_MESSAGE, $USERLOG, [$PRECISION = 5] )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Zapinani / vypinani userlogu

 Zapinani / vypinani userlogu. Zapne, vypne a nastavi moznost logovani a zobrazovani SQL dotazu vcetne casu provadeni.</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$ULOG</i> bool  1 = zapnuty log mod, 0 = vypnuty</CODE></DD>
	
	<DD>- <CODE><i>$SHOW_MESSAGE</i> bool  1 = zobrazuhe dotazy a casy provadeni ve strance</CODE></DD>
	
	<DD>- <CODE><i>$LOG_MESSAGE</i> bool  1 = loguje dotazy a casy provadeni ve strance do souboru</CODE></DD>
	
	<DD>- <CODE><i>$USERLOG</i> string  cesta k userlogu. Neni li zadana, pouzije se defaultni. Vhodne uvadet absolutni cestu</CODE></DD>
	
	<DD>- <CODE><i>$PRECISION</i> int  zaokrouhleni casu vykonavani na $PRECISION desetinnych mist</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='_error'><!-- --></A><H3>_error</H3>
<P><B>false _error ( $_errorNo, $_errorStr, $_query )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Interni funkce zapisuje chybovou hl&aacute;šku do error logu</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$_errorNo</i> string  cislo SQL chyby</CODE></DD>
	
	<DD>- <CODE><i>$_errorStr</i> string  popis SQL chyby</CODE></DD>
	
	<DD>- <CODE><i>$_query</i> string  SQL dotaz</CODE></DD>
	

	<DT>Function Info:</DT>
	
</DL>

<HR>

<A NAME='_writeUserLog'><!-- --></A><H3>_writeUserLog</H3>
<P><B>false _writeUserLog ( $_query, $_time )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Interni funkce zapisuje hl&aacute;šku do user logu</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$_query</i> string  SQL dotaz</CODE></DD>
	
	<DD>- <CODE><i>$_time</i> string  cas provadeni dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
</DL>

<HR>

<A NAME='db_Db_Query'><!-- --></A><H3>db_Db_Query</H3>
<P><B>resource &db_Db_Query ( $query, $db, $conn )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_db_query()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$query</i> string  SQL dotaz</CODE></DD>
	
	<DD>- <CODE><i>$db</i> string  nazev databaze</CODE></DD>
	
	<DD>- <CODE><i>$conn</i> resource  identifikator pripojeni</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_Unbuffered_Query'><!-- --></A><H3>db_Unbuffered_Query</H3>
<P><B>resource &db_Unbuffered_Query ( $query, $conn )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_unbuffered_query()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$query</i> string  SQL dotaz</CODE></DD>
	
	<DD>- <CODE><i>$conn</i> resource  identifikator pripojeni</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_Fetch_All_Into'><!-- --></A><H3>db_Fetch_All_Into</H3>
<P><B>integer db_Fetch_All_Into ( &$pole, $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Obdoba db_fetch_into().</b>
<pre>
Obdoba db_fetch_into(). Funkce vlozi do pole vsechny hodnoty z dotazu.
</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$pole</i> array  jmeno pole do ktereho se naliji data</CODE></DD>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_Result'><!-- --></A><H3>db_Result</H3>
<P><B>string db_Result ( $radek, $sloupec, $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_result()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$radek</i> integer  cislo radku</CODE></DD>
	
	<DD>- <CODE><i>$sloupec</i> mixed  cislo nebo nazev sloupce</CODE></DD>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_Insert_Id'><!-- --></A><H3>db_Insert_Id</H3>
<P><B>integer db_Insert_Id (  )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_insert_id()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>0</i> void</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_Data_Seek'><!-- --></A><H3>db_Data_Seek</H3>
<P><B>bool db_Data_Seek ( $radek, $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_data_seek()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$radek</i> integer  cislo radku</CODE></DD>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_Fetch_Into'><!-- --></A><H3>db_Fetch_Into</H3>
<P><B>integer db_Fetch_Into ( $sloupec, &$pole, $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent odbc_fetch_into()</b>
<pre>
Ekvivalent odbc_fetch_into(). Funkce vlozi do pole vsechny
 hodnoty z definovaneho sloupce.
</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$sloupec</i> mixed  nazev nebo poradi sloupce ve vysledku</CODE></DD>
	
	<DD>- <CODE><i>$pole</i> array  jmeno pole do ktereho se naliji data</CODE></DD>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_Fetch_Assoc'><!-- --></A><H3>db_Fetch_Assoc</H3>
<P><B>array db_Fetch_Assoc ( $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_fetch_assoc()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_Num_Rows'><!-- --></A><H3>db_Num_Rows</H3>
<P><B>integer db_Num_Rows ( $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_num_rows()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_Affected_Rows'><!-- --></A><H3>db_Affected_Rows</H3>
<P><B>integer db_Affected_Rows ( $conn )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_affected_rows()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$conn</i> resource  identifikator pripojeni k databazi</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_Fetch_Row'><!-- --></A><H3>db_Fetch_Row</H3>
<P><B>array db_Fetch_Row ( $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_fetch_row()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_Fetch_Array'><!-- --></A><H3>db_Fetch_Array</H3>
<P><B>array db_Fetch_Array ( $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_fetch_array()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>

<A NAME='db_field_name'><!-- --></A><H3>db_field_name</H3>
<P><B>string db_field_name ( $sloupec, $sql )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Ekvivalent mysql_field_name()</b>
<pre>

</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD>- <CODE><i>$sloupec</i> integer  cislo sloupce</CODE></DD>
	
	<DD>- <CODE><i>$sql</i> resource  identifikator SQL dotazu</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>public</CODE></DD>
	
</DL>

<HR>


<hr>
</HTML>
Return current item: New DB Class