answersLogoWhite

0

One easy way to add XML capability is to use one of the many xml2array classes or functions out there or try one of the following ways which may already be included in your current php installation:

http://www.ibm.com/developerworks/library/os-xmldomphp/

http://www.cadenhead.org/workbench/xml-simple/

Other than that, try Google... Always a great solution if you don't know how to do something in php.

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

What are PHP packages?

PHP packages are like modules you can add to PHP to add functionability. Adding new packages will allow you do do new things in your PHP scripts.


What is meant by PECL in PHP?

PECL stands for PHP Extension Community Library and it is a repository for extensions which add additional functionality to the core PHP installation. An example would be the extension APC (Alternative PHP Cache) which allows you to setup a cache which optimizes the serving of intermediate code. When using a server, you can install the PECL repository and call upon it to download extensions as you require them.


How do you add a comment in PHP?

< ?php // This is an example of comment in PHP /* This is another example of comment in PHP and we can write comments in multiple lines using this method */ ? >


What is syntax in php?

We can use php tags in different ways. <?php //php code to be written here ?> OR <? //php code ?> This tag will not work when we using editors such as macromedia dreamweaver. OR < script language="php"> //php code </script>


How do you add styles to links with PHP?

PHP is not designed to do this sort of decoration alone -- you will need another language that adds styles. However, PHP can output a portion of these styling languages, like CSS, that add decoration to links.


How can you put PHP into your product details pages?

<?php // your php code goes here ?> If your product pages are created in PHP (have the .php extension) then you can simply add the php start/end tag. There is a way to have the server recognize PHP inside of HTML files but that would require some work on the server, better left to the server manager.


Write down a PHP code to add a session variable?

The preferred way is to simply alter the session superglobal. <?php $_SESSION['variable'] = "value"; ?>


How do you add HTML5 Geolocation results to a PHP form?

There is no such thing as a PHP form. Forms are written in HTML or other client side scripting languages.


What is framework in php?

A framework in PHP is a set of prebuilt classes and functions (like cakePHP.org or codeignitor) that let's you add basic classes and write less do more.


Dentin?

major bulk of the tooth; capability to add to itself


How do you edit a PHP file?

Open it in Notepad. Add or remove whatever code you want. To test, you will have to upload it to a PHP enabled webhost, or you will need to install MySQL, PHP, and Apache on your computer. Use Editor to edit the PHP file. Example: Notepad++ , editplus ,Zend IDE ,Netbeans IDE


How do you pass a variable by value in php?

In the declaration of the receiving function, you add an ampersand. <?php function myWayCoolFunction( &$params) {.....} $x = array('1','2','3'); myWayCoolFunction($x) ?>