In a PHP file i am assigning a XML file to an input variable
Example:
$xmlfile = '<?xml version="1.0" encoding="UTF-8"?>
<creators>
<creator>
<creatorName>Ganesh</creatorName>
</creator>
</creators>
<identifier identifierType="id">Dynamic input($input)</identifier>';
In the part of Dynamic input i want to declare a variable like $input which would based on the previous value.
How can i declare a variable ($input) in ”(single quotes) because declaring disturbs the structure.
Try: