Thanks for your offer Richard, but I solved the problem deleting the UTF-8
encoding label in the XML file like this:
before:
after:
Hi again,
Now I download the editing XML file and open it in windows with notepad and
save with utf-8 encode, then upload the file again and can see the correct
characters, what's the problem? I'm specifying the correct encoding when
process the form and editing the XML file:
$XML = new DOMDocume
Hi, I'm editing an XML file through a form:
$XML = new DOMDocument('1.0', 'UTF-8');
$XML->preserveWhiteSpace = false;
$XML->load("../xml/exposiciones.xml");
$raiz = $XML->documentElement;
$nodoContenedor = $XML->getElementsByTagName('texto');
foreach ($nodoContenedor as $NuevoNodo)
It works fine for me,
foreach ( $_FILES['archivo']['name'] as $file ) {
//echo $file;
}
if($file == ""){
echo "empty";
}else{
//continue...
}
Thanks a lot Jim!
Te0
Hi, I need to validate a field that work with Multifile plugin of Jquery,
I want to check if the field is empty with php.
[code]
[code]
I've tried different ways but it does not work:
for example:
$field = $_FILES["archivo"]["name"];
$field = $_FILES["archivo[]"]["name"];
i dont know how to va
Thanks Ash, and so sorry I forgot to use the subject...
ok, I'll read about insertBefore () method,
Regards,
te0
Hi, I have a photo gallery and I update it with a XML file like this:
$NuevaCol = new SimpleXMLElement("../xml/" . $coleccionXML . '.xml', null,
true);
$first = $NuevaCol->addChild('coleccion');
$attsNuevaCol = $first->addAttribute('nombre_col',
utf8_encode($titNuevaColEspacios));
$attsNuevaCol =
7 matches
Mail list logo