<reponame>slliac/Ljus4Food
\hypertarget{class_c_i___d_b__mysqli__driver}{}\section{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver Class Reference}
\label{class_c_i___d_b__mysqli__driver}\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
Inheritance diagram for C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_c_i___d_b__mysqli__driver}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a52bf595e79e96cc0a7c907a9b45aeb4d}{db\+\_\+connect}} (\$persistent=F\+A\+L\+SE)
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a57c19c642ab3023e28d10c50f86ff0a8}{reconnect}} ()
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a18ae9c21870b30b45337c5e3626190cc}{db\+\_\+select}} (\$database=\textquotesingle{}\textquotesingle{})
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a6080dae0886626b9a4cedb29240708b1}{version}} ()
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a77248aaad33eb132c04cc4aa3f4bc8cb}{affected\+\_\+rows}} ()
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a933f2cde8dc7f87875e257d0a4902e99}{insert\+\_\+id}} ()
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a90355121e1ed009e0efdbd544ab56efa}{field\+\_\+data}} (\$table)
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a43b8d30b879d4f09ceb059b02af2bc02}{error}} ()
\end{DoxyCompactItemize}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a0cde2a16322a023d040aa7f725877597}{\$dbdriver}} = \textquotesingle{}mysqli\textquotesingle{}
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_abf799de0d30288b91ee73769281dd69d}{\$compress}} = F\+A\+L\+SE
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_ad60008f32a478e978c7c3284f320f273}{\$delete\+\_\+hack}} = \mbox{\hyperlink{constants_8php_ae04a3efe6aa42044f803ee90c2277846}{T\+R\+UE}}
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_afb42d9811bec1da94506e5764e1439e0}{\$stricton}}
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a2b808d420d8e9fea0b73ad7127f5efb8}{\+\_\+db\+\_\+set\+\_\+charset}} (\$charset)
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a114ab675d89bf8324a41785fb475e86d}{\+\_\+execute}} (\$sql)
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a86af88ef0fa6d44ab4691e3f53270339}{\+\_\+prep\+\_\+query}} (\$sql)
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_ac81ac882c1d54347d810199a15856aac}{\+\_\+trans\+\_\+begin}} ()
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a6fe7f373e0b11cfae23a5f41c0b35dda}{\+\_\+trans\+\_\+commit}} ()
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_ad49a116b0776c26b53114c9093fd102a}{\+\_\+trans\+\_\+rollback}} ()
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_af8ef0237bfcdb19215b63fff769e7a55}{\+\_\+escape\+\_\+str}} (\$str)
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a435c0f3ce54fe7daa178baa8532ebd54}{\+\_\+list\+\_\+tables}} (\$prefix\+\_\+limit=F\+A\+L\+SE)
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a7ccb7f9c301fe7f0a9db701254142b63}{\+\_\+list\+\_\+columns}} (\$table=\textquotesingle{}\textquotesingle{})
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_aef43f7e3e7b71d337ff3724c5eb14f10}{\+\_\+from\+\_\+tables}} ()
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_a4d9082658000e5ede8312067c6dda9db}{\+\_\+close}} ()
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_aaec2fb0112850159063a8e47ad3aed6e}{\$\+\_\+escape\+\_\+char}} = \textquotesingle{}\`{}\textquotesingle{}
\item 
\mbox{\hyperlink{class_c_i___d_b__mysqli__driver_ade098f0cd94dc706b24ea590bd540bf4}{\$\+\_\+mysqli}}
\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a4d9082658000e5ede8312067c6dda9db}\label{class_c_i___d_b__mysqli__driver_a4d9082658000e5ede8312067c6dda9db}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\+\_\+close@{\+\_\+close}}
\index{\+\_\+close@{\+\_\+close}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\+\_\+close()}{\_close()}}
{\footnotesize\ttfamily \+\_\+close (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}

Close DB Connection

\begin{DoxyReturn}{Returns}
void 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a2b808d420d8e9fea0b73ad7127f5efb8}\label{class_c_i___d_b__mysqli__driver_a2b808d420d8e9fea0b73ad7127f5efb8}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\+\_\+db\+\_\+set\+\_\+charset@{\+\_\+db\+\_\+set\+\_\+charset}}
\index{\+\_\+db\+\_\+set\+\_\+charset@{\+\_\+db\+\_\+set\+\_\+charset}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\+\_\+db\+\_\+set\+\_\+charset()}{\_db\_set\_charset()}}
{\footnotesize\ttfamily \+\_\+db\+\_\+set\+\_\+charset (\begin{DoxyParamCaption}\item[{}]{\$charset }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}

Set client character set


\begin{DoxyParams}[1]{Parameters}
string & {\em \$charset} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
bool 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_af8ef0237bfcdb19215b63fff769e7a55}\label{class_c_i___d_b__mysqli__driver_af8ef0237bfcdb19215b63fff769e7a55}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\+\_\+escape\+\_\+str@{\+\_\+escape\+\_\+str}}
\index{\+\_\+escape\+\_\+str@{\+\_\+escape\+\_\+str}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\+\_\+escape\+\_\+str()}{\_escape\_str()}}
{\footnotesize\ttfamily \+\_\+escape\+\_\+str (\begin{DoxyParamCaption}\item[{}]{\$str }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}

Platform-\/dependent string escape


\begin{DoxyParams}{Parameters}
{\em string} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
string 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a114ab675d89bf8324a41785fb475e86d}\label{class_c_i___d_b__mysqli__driver_a114ab675d89bf8324a41785fb475e86d}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\+\_\+execute@{\+\_\+execute}}
\index{\+\_\+execute@{\+\_\+execute}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\+\_\+execute()}{\_execute()}}
{\footnotesize\ttfamily \+\_\+execute (\begin{DoxyParamCaption}\item[{}]{\$sql }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}

Execute the query


\begin{DoxyParams}[1]{Parameters}
string & {\em \$sql} & an S\+QL query \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
mixed 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_aef43f7e3e7b71d337ff3724c5eb14f10}\label{class_c_i___d_b__mysqli__driver_aef43f7e3e7b71d337ff3724c5eb14f10}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\+\_\+from\+\_\+tables@{\+\_\+from\+\_\+tables}}
\index{\+\_\+from\+\_\+tables@{\+\_\+from\+\_\+tables}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\+\_\+from\+\_\+tables()}{\_from\_tables()}}
{\footnotesize\ttfamily \+\_\+from\+\_\+tables (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}

F\+R\+OM tables

Groups tables in F\+R\+OM clauses if needed, so there is no confusion about operator precedence.

\begin{DoxyReturn}{Returns}
string 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a7ccb7f9c301fe7f0a9db701254142b63}\label{class_c_i___d_b__mysqli__driver_a7ccb7f9c301fe7f0a9db701254142b63}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\+\_\+list\+\_\+columns@{\+\_\+list\+\_\+columns}}
\index{\+\_\+list\+\_\+columns@{\+\_\+list\+\_\+columns}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\+\_\+list\+\_\+columns()}{\_list\_columns()}}
{\footnotesize\ttfamily \+\_\+list\+\_\+columns (\begin{DoxyParamCaption}\item[{}]{\$table = {\ttfamily \textquotesingle{}\textquotesingle{}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}

Show column query

Generates a platform-\/specific query string so that the column names can be fetched


\begin{DoxyParams}[1]{Parameters}
string & {\em \$table} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
string 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a435c0f3ce54fe7daa178baa8532ebd54}\label{class_c_i___d_b__mysqli__driver_a435c0f3ce54fe7daa178baa8532ebd54}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\+\_\+list\+\_\+tables@{\+\_\+list\+\_\+tables}}
\index{\+\_\+list\+\_\+tables@{\+\_\+list\+\_\+tables}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\+\_\+list\+\_\+tables()}{\_list\_tables()}}
{\footnotesize\ttfamily \+\_\+list\+\_\+tables (\begin{DoxyParamCaption}\item[{}]{\$prefix\+\_\+limit = {\ttfamily FALSE} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}

List table query

Generates a platform-\/specific query string so that the table names can be fetched


\begin{DoxyParams}[1]{Parameters}
bool & {\em \$prefix\+\_\+limit} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
string 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a86af88ef0fa6d44ab4691e3f53270339}\label{class_c_i___d_b__mysqli__driver_a86af88ef0fa6d44ab4691e3f53270339}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\+\_\+prep\+\_\+query@{\+\_\+prep\+\_\+query}}
\index{\+\_\+prep\+\_\+query@{\+\_\+prep\+\_\+query}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\+\_\+prep\+\_\+query()}{\_prep\_query()}}
{\footnotesize\ttfamily \+\_\+prep\+\_\+query (\begin{DoxyParamCaption}\item[{}]{\$sql }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}

Prep the query

If needed, each database adapter can prep the query string


\begin{DoxyParams}[1]{Parameters}
string & {\em \$sql} & an S\+QL query \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
string 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_ac81ac882c1d54347d810199a15856aac}\label{class_c_i___d_b__mysqli__driver_ac81ac882c1d54347d810199a15856aac}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\+\_\+trans\+\_\+begin@{\+\_\+trans\+\_\+begin}}
\index{\+\_\+trans\+\_\+begin@{\+\_\+trans\+\_\+begin}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\+\_\+trans\+\_\+begin()}{\_trans\_begin()}}
{\footnotesize\ttfamily \+\_\+trans\+\_\+begin (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}

Begin Transaction

\begin{DoxyReturn}{Returns}
bool 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a6fe7f373e0b11cfae23a5f41c0b35dda}\label{class_c_i___d_b__mysqli__driver_a6fe7f373e0b11cfae23a5f41c0b35dda}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\+\_\+trans\+\_\+commit@{\+\_\+trans\+\_\+commit}}
\index{\+\_\+trans\+\_\+commit@{\+\_\+trans\+\_\+commit}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\+\_\+trans\+\_\+commit()}{\_trans\_commit()}}
{\footnotesize\ttfamily \+\_\+trans\+\_\+commit (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}

Commit Transaction

\begin{DoxyReturn}{Returns}
bool 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_ad49a116b0776c26b53114c9093fd102a}\label{class_c_i___d_b__mysqli__driver_ad49a116b0776c26b53114c9093fd102a}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\+\_\+trans\+\_\+rollback@{\+\_\+trans\+\_\+rollback}}
\index{\+\_\+trans\+\_\+rollback@{\+\_\+trans\+\_\+rollback}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\+\_\+trans\+\_\+rollback()}{\_trans\_rollback()}}
{\footnotesize\ttfamily \+\_\+trans\+\_\+rollback (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}

Rollback Transaction

\begin{DoxyReturn}{Returns}
bool 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a77248aaad33eb132c04cc4aa3f4bc8cb}\label{class_c_i___d_b__mysqli__driver_a77248aaad33eb132c04cc4aa3f4bc8cb}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!affected\+\_\+rows@{affected\+\_\+rows}}
\index{affected\+\_\+rows@{affected\+\_\+rows}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{affected\+\_\+rows()}{affected\_rows()}}
{\footnotesize\ttfamily affected\+\_\+rows (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Affected Rows

\begin{DoxyReturn}{Returns}
int 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a52bf595e79e96cc0a7c907a9b45aeb4d}\label{class_c_i___d_b__mysqli__driver_a52bf595e79e96cc0a7c907a9b45aeb4d}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!db\+\_\+connect@{db\+\_\+connect}}
\index{db\+\_\+connect@{db\+\_\+connect}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{db\+\_\+connect()}{db\_connect()}}
{\footnotesize\ttfamily db\+\_\+connect (\begin{DoxyParamCaption}\item[{}]{\$persistent = {\ttfamily FALSE} }\end{DoxyParamCaption})}

Database connection


\begin{DoxyParams}[1]{Parameters}
bool & {\em \$persistent} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
object 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a18ae9c21870b30b45337c5e3626190cc}\label{class_c_i___d_b__mysqli__driver_a18ae9c21870b30b45337c5e3626190cc}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!db\+\_\+select@{db\+\_\+select}}
\index{db\+\_\+select@{db\+\_\+select}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{db\+\_\+select()}{db\_select()}}
{\footnotesize\ttfamily db\+\_\+select (\begin{DoxyParamCaption}\item[{}]{\$database = {\ttfamily \textquotesingle{}\textquotesingle{}} }\end{DoxyParamCaption})}

Select the database


\begin{DoxyParams}[1]{Parameters}
string & {\em \$database} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
bool 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a43b8d30b879d4f09ceb059b02af2bc02}\label{class_c_i___d_b__mysqli__driver_a43b8d30b879d4f09ceb059b02af2bc02}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!error@{error}}
\index{error@{error}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{error()}{error()}}
{\footnotesize\ttfamily error (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Error

Returns an array containing code and message of the last database error that has occurred.

\begin{DoxyReturn}{Returns}
array 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a90355121e1ed009e0efdbd544ab56efa}\label{class_c_i___d_b__mysqli__driver_a90355121e1ed009e0efdbd544ab56efa}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!field\+\_\+data@{field\+\_\+data}}
\index{field\+\_\+data@{field\+\_\+data}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{field\+\_\+data()}{field\_data()}}
{\footnotesize\ttfamily field\+\_\+data (\begin{DoxyParamCaption}\item[{}]{\$table }\end{DoxyParamCaption})}

Returns an object with field data


\begin{DoxyParams}[1]{Parameters}
string & {\em \$table} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
array 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a933f2cde8dc7f87875e257d0a4902e99}\label{class_c_i___d_b__mysqli__driver_a933f2cde8dc7f87875e257d0a4902e99}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!insert\+\_\+id@{insert\+\_\+id}}
\index{insert\+\_\+id@{insert\+\_\+id}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{insert\+\_\+id()}{insert\_id()}}
{\footnotesize\ttfamily insert\+\_\+id (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Insert ID

\begin{DoxyReturn}{Returns}
int 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a57c19c642ab3023e28d10c50f86ff0a8}\label{class_c_i___d_b__mysqli__driver_a57c19c642ab3023e28d10c50f86ff0a8}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!reconnect@{reconnect}}
\index{reconnect@{reconnect}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{reconnect()}{reconnect()}}
{\footnotesize\ttfamily reconnect (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Reconnect

Keep / reestablish the db connection if no queries have been sent for a length of time exceeding the server\textquotesingle{}s idle timeout

\begin{DoxyReturn}{Returns}
void 
\end{DoxyReturn}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a6080dae0886626b9a4cedb29240708b1}\label{class_c_i___d_b__mysqli__driver_a6080dae0886626b9a4cedb29240708b1}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!version@{version}}
\index{version@{version}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{version()}{version()}}
{\footnotesize\ttfamily version (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Database version number

\begin{DoxyReturn}{Returns}
string 
\end{DoxyReturn}


\subsection{Field Documentation}
\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_aaec2fb0112850159063a8e47ad3aed6e}\label{class_c_i___d_b__mysqli__driver_aaec2fb0112850159063a8e47ad3aed6e}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\$\+\_\+escape\+\_\+char@{\$\+\_\+escape\+\_\+char}}
\index{\$\+\_\+escape\+\_\+char@{\$\+\_\+escape\+\_\+char}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\$\+\_\+escape\+\_\+char}{$\_escape\_char}}
{\footnotesize\ttfamily \$\+\_\+escape\+\_\+char = \textquotesingle{}\`{}\textquotesingle{}\hspace{0.3cm}{\ttfamily [protected]}}

\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_ade098f0cd94dc706b24ea590bd540bf4}\label{class_c_i___d_b__mysqli__driver_ade098f0cd94dc706b24ea590bd540bf4}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\$\+\_\+mysqli@{\$\+\_\+mysqli}}
\index{\$\+\_\+mysqli@{\$\+\_\+mysqli}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\$\+\_\+mysqli}{$\_mysqli}}
{\footnotesize\ttfamily \$\+\_\+mysqli\hspace{0.3cm}{\ttfamily [protected]}}

\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_abf799de0d30288b91ee73769281dd69d}\label{class_c_i___d_b__mysqli__driver_abf799de0d30288b91ee73769281dd69d}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\$compress@{\$compress}}
\index{\$compress@{\$compress}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\$compress}{$compress}}
{\footnotesize\ttfamily \$compress = F\+A\+L\+SE}

\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_a0cde2a16322a023d040aa7f725877597}\label{class_c_i___d_b__mysqli__driver_a0cde2a16322a023d040aa7f725877597}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\$dbdriver@{\$dbdriver}}
\index{\$dbdriver@{\$dbdriver}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\$dbdriver}{$dbdriver}}
{\footnotesize\ttfamily \$dbdriver = \textquotesingle{}mysqli\textquotesingle{}}

\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_ad60008f32a478e978c7c3284f320f273}\label{class_c_i___d_b__mysqli__driver_ad60008f32a478e978c7c3284f320f273}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\$delete\+\_\+hack@{\$delete\+\_\+hack}}
\index{\$delete\+\_\+hack@{\$delete\+\_\+hack}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\$delete\+\_\+hack}{$delete\_hack}}
{\footnotesize\ttfamily \$delete\+\_\+hack = \mbox{\hyperlink{constants_8php_ae04a3efe6aa42044f803ee90c2277846}{T\+R\+UE}}}

\mbox{\Hypertarget{class_c_i___d_b__mysqli__driver_afb42d9811bec1da94506e5764e1439e0}\label{class_c_i___d_b__mysqli__driver_afb42d9811bec1da94506e5764e1439e0}} 
\index{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}!\$stricton@{\$stricton}}
\index{\$stricton@{\$stricton}!C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver@{C\+I\+\_\+\+D\+B\+\_\+mysqli\+\_\+driver}}
\subsubsection{\texorpdfstring{\$stricton}{$stricton}}
{\footnotesize\ttfamily \$stricton}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/\+Applications/\+X\+A\+M\+P\+P/xamppfiles/htdocs/\+Code\+Igniter/system/database/drivers/mysqli/\mbox{\hyperlink{mysqli__driver_8php}{mysqli\+\_\+driver.\+php}}\end{DoxyCompactItemize}
