cvs: peardoc /en/package/database/db intro-auto.xml /en/package/database/db/db-common autoexecute.xml quotesmart.xml

From: Date: Thu, 15 Apr 2004 07:40:52 +0000
Subject: cvs: peardoc /en/package/database/db intro-auto.xml /en/package/database/db/db-common autoexecute.xml quotesmart.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-3483@lists.php.net to get a copy of this message
danielc Thu Apr 15 03:40:52 2004 EDT Modified files: /peardoc/en/package/database/db intro-auto.xml /peardoc/en/package/database/db/db-common autoexecute.xml quotesmart.xml Log: Put some more commands in command tags. http://cvs.php.net/diff.php/peardoc/en/package/database/db/intro-auto.xml?r1=1.26&r2=1.27&ty=u Index: peardoc/en/package/database/db/intro-auto.xml diff -u peardoc/en/package/database/db/intro-auto.xml:1.26 peardoc/en/package/database/db/intro-auto.xml:1.27 --- peardoc/en/package/database/db/intro-auto.xml:1.26 Tue Apr 13 15:20:13 2004 +++ peardoc/en/package/database/db/intro-auto.xml Thu Apr 15 03:40:52 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.26 $ --> +<!-- $Revision: 1.27 $ --> <refentry id="package.database.db.intro-auto"> <refnamediv> @@ -96,7 +96,7 @@ So, you don't have to write any sql insert queries! But it works with update queries too. For flexibility reasons, you have only to write - the WHERE statement of the query. For instance: + the <command>WHERE</command> clause of the query. For instance: <programlisting role="php"> <![CDATA[ @@ -136,7 +136,8 @@ </para> <para> - Be careful, if you don't specify any WHERE statement, all the records + Be careful, if you don't specify any <command>WHERE</command> + clause, all the records of the table will be updated. </para> </refsect2> http://cvs.php.net/diff.php/peardoc/en/package/database/db/db-common/autoexecute.xml?r1=1.22&r2=1.23&ty=u Index: peardoc/en/package/database/db/db-common/autoexecute.xml diff -u peardoc/en/package/database/db/db-common/autoexecute.xml:1.22 peardoc/en/package/database/db/db-common/autoexecute.xml:1.23 --- peardoc/en/package/database/db/db-common/autoexecute.xml:1.22 Thu Apr 15 01:40:41 2004 +++ peardoc/en/package/database/db/db-common/autoexecute.xml Thu Apr 15 03:40:52 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.22 $ --> +<!-- $Revision: 1.23 $ --> <refentry id="package.database.db.db-common.autoexecute"> <refnamediv> @@ -93,7 +93,7 @@ <listitem> <para> in case of update queries, - this string will be put after the WHERE statement + this string will be put after the <command>WHERE</command> clause </para> </listitem> </varlistentry> http://cvs.php.net/diff.php/peardoc/en/package/database/db/db-common/quotesmart.xml?r1=1.23&r2=1.24&ty=u Index: peardoc/en/package/database/db/db-common/quotesmart.xml diff -u peardoc/en/package/database/db/db-common/quotesmart.xml:1.23 peardoc/en/package/database/db/db-common/quotesmart.xml:1.24 --- peardoc/en/package/database/db/db-common/quotesmart.xml:1.23 Thu Apr 15 01:40:41 2004 +++ peardoc/en/package/database/db/db-common/quotesmart.xml Thu Apr 15 03:40:52 2004 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.23 $ --> +<!-- $Revision: 1.24 $ --> <refentry id="package.database.db.db-common.quotesmart"> <refnamediv> @@ -22,7 +22,8 @@ <para> Format input so it can be safely used as a literal in a query. Literals are values such as strings or numbers which get utilized in places like - WHERE, SET and VALUES clauses of SQL statements. + <command>WHERE</command>, <command>SET</command> and + <command>VALUES</command> clauses of SQL statements. </para> <para> The format returned depends on the PHP data type of input and the

« previous php.pear.doc (#3483) next »