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


hhttp://php.developpez.com/faq/langage/index.php?page=concepts#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

Who's Online

390 user(s) are online (286 user(s) are browsing Support Forums)


Members: 0


Guests: 390


more...

Donat-O-Meter

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

Latest GitHub Commits