Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for phpMyEdit/doc/sgml/configuration.general.sgml between version 1.42 and 1.43

version 1.42, 2004/05/17 10:55:38 version 1.43, 2004/07/15 10:40:23
Line 1 
Line 1 
 <!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.41 2004/04/21 14:36:40 nepto Exp $ -->  <!-- $Platon: phpMyEdit/doc/sgml/configuration.general.sgml,v 1.42 2004/05/17 10:55:38 nepto Exp $ -->
   
 <sect1 id="configuration.mysql-options">  <sect1 id="configuration.mysql-options">
 <title id="configuration.mysql-options.title">Database connection</title>  <title id="configuration.mysql-options.title">Database connection</title>
Line 30  $opts['tb'] = 'table';
Line 30  $opts['tb'] = 'table';
 </para>  </para>
 <para>  <para>
   
 It is recommended that the first four options shown above be moved to a  Recommended usage is, that the first four options shown above should be moved
 separate, included file.  to a separate, included file.
   
   </para>
   <para>
   
   It is rather common situation to use &name; inside larger project. To prevent
   &name; before creation of another persistent database connection, you can
   supply <varname>$opts['dbh']</varname> option, where valid allocated MySQL
   database handle is expected. In this case, the first four options written
   above are completelly ignored. Only table name is used.
   
   </para>
   <para>
   
   <example><title>Supplying allocated connection</title>
   <programlisting><![CDATA[
   $opts['dbh'] = $your_project_db_handle;
   ]]></programlisting>
   </example>
   
 </para>  </para>
 </sect1>  </sect1>

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top