mail[Galette-devel] [bug #18819] Modification du port de la base de donnéesà l'installation


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Loïs Taulelle on October 19, 2011 - 11:53:

Follow-up Comment #2, bug #18819 (project galette):


Si quelqu'un me valide la bonne syntaxe PHP pour passer le port par défaut,
je donne mon corps à Galette pour corriger l'ensemble du code et rajouter
"PORT_DB/dbport" partout-partout.

define :
<option value="mysql"<?php if ( isset($_POST['install_dbtype']) &&
$_POST['install_dbtype'] == 'mysql' ) {echo ' selected="selected"';} $dbport
== '3306'; ?>>Mysql</option>

utilisation:
<input type="text" name="install_dbport" id="install_dbport" value="<?php
echo (isset($_POST['install_dbport']))?$_POST['install_dbport']:'$dbport';
?>"/>

Anyone ?

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?18819>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/




Related Messages


Powered by MHonArc, Updated Wed Oct 19 12:00:09 2011