1
xoopdio
global variable
  • 2012/1/10 6:00

  • xoopdio

  • Just popping in

  • Posts: 29

  • Since: 2011/9/27


Hi

Id like to insert a new global variable with the following code :

include http://pastebin.com/WQmh4Zmd

the real line is of course a working link to the real file.

and insert : $var = Accessit::getInstance($xoopsDB)->getDivNamesFromDb();

but I always get a blank page in the application.

I tried to put this in the header, index or footer but it seems to block the code and I dont understand why. Maybe someone could help me to find the reason because I run out of ideas ?

Thank you
"A tree is made of non-tree elements" Thich Nhat Hanh

2
xoopdio
Re: global variable
  • 2012/4/30 7:42

  • xoopdio

  • Just popping in

  • Posts: 29

  • Since: 2011/9/27


http://php.developpez.com/faq/langage ... #concepts_gardervariables

for those who fall on this post. ;)

Thanks to all others contributors..
"A tree is made of non-tree elements" Thich Nhat Hanh

Login

Username:
Password:

Lost Password? Register now!

Who's Online

61 user(s) are online (35 user(s) are browsing Support Forums)


Members: 0


Guests: 61


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits