Thread
:
Howto use global variables
View Single Post
#
2
(
permalink
)
07-13-2006, 11:42 PM
John
Join Date: Jul 2006
Age: 20
Posts: 3,469
Last Blog:
Joomla! And Incompeten...
Rep Power:
20
PHP Code:
$variable
=
"some text"
;
function
myfunc
() {
global
$variable
;
print
$variable
;
// Does not work
}
that sould do the trick
John
View Public Profile
Send a private message to John
Visit John's homepage!
Find all posts by John