Hello,
I have the following code:
http://www.nomorepasting.com/getpaste.php?pasteid=22615
Which is called by the javascript mentioned in this question:
My problem is that I do not seem to be able to pass $query, as in nothing seemingly happens when I call this file by itself.
I am unsure what the best way to control the flow of information is. Is my logic ok? Passing the query through javascript to the php file, and then returning it with the function?
I am also concerned about my use of $rows, as it does not seem to be required.