Page 1 of 1
using php arrays in ajax
4 Replies - 760 Views - Last Post: 07 August 2008 - 03:27 AM
Posted 05 August 2008 - 12:59 AM
i'm a new beee.. to ajax and also for forums..
here's my question goes...
i have a php array and i want to access that array in my ajax script...
how can i access the above mentioned php array in my script..
Replies To: ajax
Posted 06 August 2008 - 04:01 AM
but what i'm trying is i've a php script that will return an array(that holds database values)
i want to use that array in my ajax script ..
is there any way for that..
in short i'll call the php in ajax script and i've to catch that array and then
i have to fill the contents of array in textfields of my html page
This post has been edited by kummu4help: 06 August 2008 - 04:04 AM
Posted 06 August 2008 - 08:52 AM
var xmlDoc = request.responseXML; var priceArray = xmlDoc.getElementsByTagName('price');