PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I've got a VoiceXML application that asks the caller to input his/her contact number, then VoiceXML post this number to a php script, the php script should now store this value in a mySQL database.
The code that is used in php to get the number is:
The Caller calls the number, the voiceXML application picks up and asks the caller to type in a reference number form the keypad -- number?length=6 -- now the VoiceXML application sends this number to the php via a submit statement in the VoiceXML application with a POST action. Now php uses this number to check in the database if it exists and sends back a string value. I can't get the number to work with php at all, I get error messages when i get to the submit statement.
If anybody knows how to do this, please help me out, i just can't get this right.
Thank you.
Your voicexml application cannot process the html output of your php script.
I think you should install a debugger so you can trace the script's execution.
see e.g. http://www.ibm.com/developerworks/library/os-debug/