Hi, this is a PHP newbie question. I am using PHP to access an oracle database. I send off a query, and get the results displayed back, no prob.
But what I really want to do is to get the data back, and instead of displaying it, I want to dump the data into another page. I am trying to do this by:
the php returned data page has an onLoad event handler that returns the user to the page on which I want to show the retrieved data. On load, I want to pull the data from the PHP page. My problem is, I don't know how to "refer" to the PHP page in javascript. I do understand the basics of the document model, except I get fuzzy at the window/doc level. Is there a way to reference a returned PHP page?? what kind of object is it?
Maybe there is a much easier way (sockets?) but it has eluded me so far!
(I've only been doing PHP a month or so) Open to all suggestions. I am probably kludging this one!
I do have the Professional PHP book if anyone cares to direct me to a pertinent section.
Grateful to all who try to help me out!!!
thanks
K
But what I really want to do is to get the data back, and instead of displaying it, I want to dump the data into another page. I am trying to do this by:
the php returned data page has an onLoad event handler that returns the user to the page on which I want to show the retrieved data. On load, I want to pull the data from the PHP page. My problem is, I don't know how to "refer" to the PHP page in javascript. I do understand the basics of the document model, except I get fuzzy at the window/doc level. Is there a way to reference a returned PHP page?? what kind of object is it?
Maybe there is a much easier way (sockets?) but it has eluded me so far!
(I've only been doing PHP a month or so) Open to all suggestions. I am probably kludging this one!
I do have the Professional PHP book if anyone cares to direct me to a pertinent section.
Grateful to all who try to help me out!!!
thanks
K