Hello, in a WordPress page I would like run the snippet XYZ or others to display a Php variable into value attribute of input text Html element. Here my Html code:
<input type="text" name="echoVar" value="[xyz-ips snippet="DisplayVar"] ">
My snippet code is like this:
<?php echo $ragsoc ?>
It seems is not possible to run snippet calling it between double quote. Any help will be very appreciated.
- The topic ‘Echo variable with php snippet XYZ’ is closed to new replies.