Category: PHP

XML change value from parent to child

I have this XML: <destinos> <destino> <location>Spain</location> <programas> <item></item> <item></item> </programas> </destino> <destino> <location>France</location> <programas> <item></item> <item></item> </programas> </destino> </destinos> I need to include or copy...

Define var from MYSQL data PHP

I need to define my website var from mySQL, but I don’t know how to get the data to the var. This is what I have...