elpaisa Posted September 8, 2007 Share Posted September 8, 2007 Hi all! I'm not a very experienced programmer, but i'm writing a script to retrieve counts from a database table and print them in a chart image and the query for that is in another file included, what can i do for calling the variable query from the chart file as a global if the query is inside an case: break; function in the included file ???. Thanks!. Quote Link to comment https://forums.phpfreaks.com/topic/68508-retrieving-variables-in-an-case-break-from-other-page/ Share on other sites More sharing options...
benjaminbeazy Posted September 8, 2007 Share Posted September 8, 2007 define variable as global in the function or return variable value for function Quote Link to comment https://forums.phpfreaks.com/topic/68508-retrieving-variables-in-an-case-break-from-other-page/#findComment-344369 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.