cvs: peardoc /en/package/structures/structures-datagrid example-simple.xml

From: Date: Wed, 19 Apr 2006 19:25:47 +0000
Subject: cvs: peardoc /en/package/structures/structures-datagrid example-simple.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7795@lists.php.net to get a copy of this message
wiesemann Wed Apr 19 19:25:47 2006 UTC Modified files: /peardoc/en/package/structures/structures-datagrid example-simple.xml Log: - one typo and one space (CS and it looks better) http://cvs.php.net/viewcvs.cgi/peardoc/en/package/structures/structures-datagrid/example-simple.xml?r1=1.11&r2=1.12&diff_format=u Index: peardoc/en/package/structures/structures-datagrid/example-simple.xml diff -u peardoc/en/package/structures/structures-datagrid/example-simple.xml:1.11 peardoc/en/package/structures/structures-datagrid/example-simple.xml:1.12 --- peardoc/en/package/structures/structures-datagrid/example-simple.xml:1.11 Wed Apr 19 18:56:04 2006 +++ peardoc/en/package/structures/structures-datagrid/example-simple.xml Wed Apr 19 19:25:47 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry id="package.structures.structures-datagrid.example-simple"> <refnamediv> @@ -44,7 +44,7 @@ </programlisting> </example> <para> - If you are familiar with the SQL language you'll certainly fine many ways + If you are familiar with the SQL language you'll certainly find many ways to adapt the above example to your needs, using more complex queries. </para> <para> @@ -64,7 +64,7 @@ // Setup your datasource $options = array('dsn' => 'mysql://user:password@host/db_name'); -$datagrid->bind("SELECT * FROM my_table",$options); +$datagrid->bind("SELECT * FROM my_table", $options); // Print the DataGrid with the default renderer (HTML Table) $datagrid->render();

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