Erwin LEUBAZ wrote:

> > I'll be glad to look into your problem but would have
> > appreciated it if
> > it had been made clear sooner that this is appearantly a 'normal' PHP
> > problem, and not specifically Midgard related. As it was I went
> > picking through the Midgard source for the root of your problem.
> 
> It's also my opignion, but like I used the Midgard installation procedure
> I think that the ./configure of the different part of the Midgard
> installation
> must be "plug-play" for the basic user like me. (It's a wish !!!)
> Because we don't know in the details the interaction between
> Midgard-PHP-MySQL.
> 
> So It's probably the PHP configuration, but I must modify the PHP
> installation,
> and the values of the ./configure files are probably no the same as you.

But it's not Midgard related at all. The problem is here in the code
you sent me:

    $sql = "UPDATE accessoires SET no_inventaire='$no_inventaire',
      no_serie='$no_serie', date_achat='$date_achat',
      emplacement='$emplacement', prix_unitaire='$prix_unitaire',
      designation='$designation', configuration='$configuration',
      date_etalonnage='$date_etalonnage',
      emplacement_certificat='$emplacement_certificat' ,
      materiel_id='$materiel_id' WHERE accessoire_id =$accessoire_id";

   $result = mysql_query($sql);

Read http://php.clix.pt/manual/function.addslashes.php3 (since
www.php.net seems to be down ATM).

Emile


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to