Page 1 of 1

PHP tutorial

Posted: Thu Jun 15, 2006 2:19 pm
by plumphp
When I add this line in my php code I get an error message:
I am using PHP 5.1.1

<?php

echo("<?xml version="1.0"?>\n");
echo("<vxml version="2.0">\n");
?>

Please advise.

IVR code using PHP

Posted: Fri Jun 16, 2006 4:13 pm
by support
Hi,

In your IVR code, you need to escape any " characters that are part of the string argument:

<?php

echo("<?xml version=\"1.0\"?>\n");
echo("<vxml version=\"2.0\">\n");
?>


Also, it's more appropriate to search for IVR answers to such questions here: http://www.php.net.


Regards,

Plum Support