If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
poll problem  XML
Forum Index » Support Forum
Author Message
mr.fox
Newbie

Joined: 23/06/2005 02:42:23
Messages: 1
Offline

Hi. I'm begging for help here bacause im realy stuck!
I want to use this poll on my web site.
so the problem is, i have functions which create the body of the page. example..

so as u see i have a function which creates body of the page, and the poll script is inside of it.. so it doesnt work that way(- it works only if the code is outside the function. i cant use it outside the function cause it will destroy everything.
so is there any posible solution to make work inside the function?

oh, by the way http://game-zona.ru/survey.php this is the result if poll is in function(-
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Well if I remember rightly you use the poll by using something likeor something. I know it is an echo though. So why not just have it turned into a variable instead of echoed?

then you just put the variable in your body function as a global or pass it as a variable.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum