Location: PHPKode > projects > MySQL-XML > docs/sqlconfig.php.source.html
<HTML>
<HEAD><TITLE>PHPXref : /sqlconfig.php source</TITLE></HEAD>
<BODY BGCOLOR="#EEEEE0" TEXT="#330505" LINK="#801800" VLINK="#300540" ALINK="#FFFFFF">
<TABLE BORDER=0 WIDTH=100%>
	<TR BGCOLOR="553333"><TD ALIGN="RIGHT">
		<FONT SIZE=+2 COLOR="#FFFFFF"><I>PHPXref Example</I></FONT>
	</TD></TR>
</TABLE>
<BR><BR>


<!-- Generated by PHPXref 0.2 at Wed Oct 30 08:50:37 2002 -->
<!-- PHPXref (c) 2000,2001 Gareth Watts - hide@address.com -->
<!-- http://phpxref.sourceforge.net/ -->

<SCRIPT LANGUAGE="JavaScript">
<!--
ext='.html';
relbase='';
function jump() {
    if (document.search.funcname.value.length) {
		funcname=document.search.funcname.value.replace(/[()]/g,'');
		funcname=document.search.funcname.value.toLowerCase();
        window.location=relbase+'_functions/'+escape(escape(funcname))+ext;
	}
    if (document.search.varname.value.length) {
		varname=document.search.varname.value.replace(/[$]/g,'');
        window.location=relbase+'_variables/'+escape(escape(varname))+ext;
	}
    if (document.search.tablename.value.length) {
		tablename=document.search.tablename.value.toLowerCase();
        window.location=relbase+'_tables/'+escape(escape(tablename))+ext;
	}
    return false;
}

document.writeln('<TABLE ALIGN="RIGHT" BORDER=0>');
document.writeln('<TR BGCOLOR="#000000"><TD>');
document.writeln('<CENTER><FONT SIZE=-1 COLOR="#EEEEEE"><B>Lookup</B></FONT></CENTER>');
document.writeln('</TD></TR>');

document.writeln('<TR BGCOLOR="#DDDDD0"><TD ALIGN="RIGHT">');
document.writeln('<FONT SIZE=-1>');
document.writeln('<FORM NAME="search" onSubmit=\'return jump()\'>');
document.writeln('<A HREF="_functions/index.html">Function</A>: ');
document.writeln('<INPUT TYPE="TEXT" SIZE=10 VALUE="" NAME="funcname" onChange=\'jump()\'><BR>');
document.writeln('<A HREF="_variables/index.html">Variable</A>: ');
document.writeln('<INPUT TYPE="TEXT" SIZE=10 VALUE="" NAME="varname" onChange=\'jump()\'><BR>');
document.writeln('<A HREF="_tables/index.html">Table</A>: ');
document.writeln('<INPUT TYPE="TEXT" SIZE=10 VALUE="" NAME="tablename" onChange=\'jump()\'><BR>');
document.writeln('</FORM>');
document.writeln('</FONT>');
document.writeln('</TD></TR></TABLE>');
// -->
</SCRIPT>
<FONT FACE="Clean" SIZE=-2>
<A HREF="./index.html">/</A> -> <A HREF="sqlconfig.php.html">sqlconfig.php</A><BR><P>
<A NAME="l1"><FONT SIZE=-2 COLOR="#555555">1</FONT>&nbsp;</A> &lt;?<BR>
<A NAME="l2"><FONT SIZE=-2 COLOR="#555555">2</FONT>&nbsp;</A> /** sqlconfig.php<BR>
<A NAME="l3"><FONT SIZE=-2 COLOR="#555555">3</FONT>&nbsp;</A> * this should be edited to fit<BR>
<A NAME="l4"><FONT SIZE=-2 COLOR="#555555">4</FONT>&nbsp;</A> * the users needs */<BR>
<A NAME="l5"><FONT SIZE=-2 COLOR="#555555">5</FONT>&nbsp;</A> <BR>
<A NAME="l6"><FONT SIZE=-2 COLOR="#555555">6</FONT>&nbsp;</A> /** start editing here */<BR>
<A NAME="l7"><FONT SIZE=-2 COLOR="#555555">7</FONT>&nbsp;</A> <A HREF="_variables/host.html">$host</A> = &quot;localhost&quot;;<BR>
<A NAME="l8"><FONT SIZE=-2 COLOR="#555555">8</FONT>&nbsp;</A> <A HREF="_variables/database.html">$database</A> = &quot;XMLDB&quot;;<BR>
<A NAME="l9"><FONT SIZE=-2 COLOR="#555555">9</FONT>&nbsp;</A> <A HREF="_variables/username.html">$username</A> = &quot;username&quot;;<BR>
<A NAME="l10"><FONT SIZE=-2 COLOR="#555555">10</FONT>&nbsp;</A> <A HREF="_variables/password.html">$password</A> = &quot;password&quot;;<BR>
<A NAME="l11"><FONT SIZE=-2 COLOR="#555555">11</FONT>&nbsp;</A> <BR>
<A NAME="l12"><FONT SIZE=-2 COLOR="#555555">12</FONT>&nbsp;</A> /** stop editing */<BR>
<A NAME="l13"><FONT SIZE=-2 COLOR="#555555">13</FONT>&nbsp;</A> <A HREF="_variables/db.html">$db</A> = <A HREF="_functions/mysql_connect.html">mysql_connect</A>(<A HREF="_variables/host.html">$host</A>, <A HREF="_variables/username.html">$username</A>, <A HREF="_variables/password.html">$password</A>);<BR>
<A NAME="l14"><FONT SIZE=-2 COLOR="#555555">14</FONT>&nbsp;</A> <A HREF="_functions/mysql_select_db.html">mysql_select_db</A>(<A HREF="_variables/database.html">$database</A>);<BR>
<A NAME="l15"><FONT SIZE=-2 COLOR="#555555">15</FONT>&nbsp;</A> ?&gt;<BR>
</FONT>
<BR><HR>
<TABLE WIDTH=100%>
	<TR><TD>Generated: Wed Oct 30 08:50:37 2002</TD>
	<TD ALIGN="RIGHT"><I>Generated by <A HREF="http://phpxref.sourceforge.net/">PHPXref 0.2</A></I></TD>
	</TR>
</TABLE>
</BODY></HTML>
Return current item: MySQL-XML