![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
14/12/2009, 14:01
|
![Avatar de da2](http://static.forosdelweb.com/customavatars/avatar9186_1.gif) | | | Fecha de Ingreso: abril-2003 Ubicación: Catalunya
Mensajes: 239
Antigüedad: 21 años, 10 meses Puntos: 0 | |
Respuesta: Apostrofe dentro de un value $fila["Des_plat_fr"] tiene un valor ---> Pleurotes avec de l'ail et au persil
$fila["Des_plat_de"] tiene un valor ---> "Gírgolas" mit Knoblauch und Petersilie
$dato_maldito_fr = htmlspecialchars($fila["Des_plat_fr"]);
$dato_maldito_de = htmlspecialchars($fila["Des_plat_de"]);
echo"<tr>";
echo "<td class=\"tddret\"><img src=\"imatges/fr.gif\"></td>";
echo '<td><input type=\"text\" name=\"Des_plat_fr\" size=\"55\" value="' . $dato_maldito_fr . '"></td>';
echo"</tr>";
echo"<tr>";
echo "<td class=\"tddret\"><img src=\"imatges/de.gif\"></td>";
echo '<td><input type=\"text\" name=\"Des_plat_de\" size=\"55\" value="' . $dato_maldito_de . '"></td>';
echo"</tr>";
$fila["Des_plat_fr"] recupera---> Pleurotes avec de l'ail et au persil
$fila["Des_plat_de"] recupera --->
No se si hago algo mal pero a mí las las comillas dobles no me funcionan.
Estoy convenciodo que se tiene que poder hacer ya que en este foro funcona si editas un mensaje |