Vineet Kumar Arya

Vineet Kumar Arya

  • NA
  • 14
  • 4.3k

I want to know how to use php variable in xml file ?

Sep 18 2013 3:05 AM
Hi friends, I want to use php variable in xml file like as below

<field name="catid"
            type="hidden"
            label="JCATEGORY"
            description="JFIELD_CATEGORY_DESC"
            class="inputbox"
            default="<?php echo $a; ?>"
 />

but this php code not support in this xml i.e. no any output ? So please tell me anyone how to use php variable in xml file ? Please help ...



Thanks