I have this code that is too generate more data from the database once the user reaches the bottom of the previously loaded content, but I need to pass the get variable from the url to the php script in order to grab the proper user content. The get variable is the user id, which used to load their page for their self and others. I know I could just store the variable in an element, but is there a better way?
Maybe I am looking at this wrong and I need some other way to access the content? I feel that I should be able to just pass the variable using the x.php?num=value, but I cannot figure out how to get that value other then placing it in an element to grab out. Does this pose any problems handling the variable this way (it is already global to everyone).