WEB Qustion

Write a function in PHP that takes an array of strings as a parameter and returns a string representation of this array in XML; where keys in the array are the tag names and the value of each key is the text inside the tag.


The resulting XML must be valid.

The XML should be built as a string throughout the code. You are not allowed to use any other classes or functions (i.e. you are not allowed to use the SimpleXMLElement class)

You may add any extra elements as you see fit.

Assume the array keys already adhere to tag naming rules.

Hint: While testing (to see what the function actually returns), you may use the htmlspecialchars() function; or just check the returned document using Developer Tools on Chrome.

Beceriler: PHP, JavaScript, XML, Yazılım Mimarisi, Java

Daha fazlasını gör: brochures web applications write ups, web form write csv, web design write ups, write problem description project class, marketing web design write ups, web design write image code html, existing class add project link, web form write csv file, web site write english, web copy write job, web harvest write file, class add opensips, web based application add extra data fields, web designers write ups, web site write newspaper article, write paper bid proposal class project, write program input integer numbers add numbers subtract numbers, web browser write, web developer tools for chrome

İşveren Hakkında:
( 0 değerlendirme ) Riyadh, Saudi Arabia

Proje NO: #25174713



Hi there! I'm a full stack software engineer, with over 5+ years experience dealing with the different programming languages, and I can help you to work on this project since previously I have been working on the same Daha Fazla

$5 USD / saat tutarından itibaren
(50 Değerlendirme)

Bu iş için 3 freelancer ortalamada $4/saat teklif veriyor


I'll write that PHP function for converting associative arrays into XML with tag names derived from array keys today, get in touch to kick-start the implementation.

$5 USD / saat tutarından itibaren
(15 Değerlendirme)

I have a good experience in php programs. I read your requirements and understood. I can write a code for you as you mentioned.

$3 USD / saat tutarından itibaren
(1 Yorum)