Lost in My Array

← Ask a Question — Started 22 Apr, 2011

To include showgraphs, just use require_once 'path_to_file'; - then you'll be able to do anything inside the file.

If, however, the showgraphs php is run at the same time as existing stats, globalize the value through $GLOBALS and use it that way.

If all else fails, just re-query it. Duplicating code isn't necessarily a bad thing. Smile
Thanks Tomm. I am gonna put this project on hold for a little while as it is taking a lot of my time and I have lots of other commitments as well. Thats the luxury of developing for yourself I guess Wink Javascript is harder than php I think. I have got a book, "ProPHP and JQuery" and I shall work through that. Then I will hopefully have a better understanding of how all this works.
[Image: leelink.gif]

User(s) browsing this thread: 1 Guest(s)