Doesn't global $stack; do that for you? If not then that's most likely the problem, though I wouldn't have expected there to be a need to declare it global anyway - that was more through a matter of desperation.
I just searched google and found another way of declaring the global variables so...
Hi All
I've been having all sorts of issues just trying to get a LIFO Stack working in PHP and am not quite sure why. In my latest incarnation I've actually build a Stack class. However, when I try to call the push function (and probably the pop too if it ever got that far) it just returns the...
OK I've now got as far as combining queries together and found that this.Number doesn't work. Nor does there seem to be reference to it or anything similar anywhere. Does anyone know what this function might be called or how to build it?
Thanks
SenorCai
Thanks tsdragon.
This works for one object in the array but if I do it this way, when I delete an object in the array won't this change the array indexing so that the handleReponse method will be called on a different object to the intended one? I don't know yet as I haven't got quite that...
Hi All
I've got a working implementation using an XMLHttpRequest to grab some information from an RDF triplestore through a webservice and display it on the page. However, I'm trying to move to a more object-orientated design for the requests as we need to store certain information alongside...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.