Hello, anyone that knows a little php and willing to help me, please read on.
I have downloaded a poll script known as sympoll, and am having a little problem.
I have added the poll code into my navigation php include, but when people vote it sends them back to that include, rather then sending them back to the actual page the visitor was on. I read in the Readme file that I can fix this by editing the echo's in booth.php to returns. However when I tried, I must of done it wrong, as it simply made the poll not appear. Can you please tell me what to change this to to make it work and go back to the page the visitor was on rather then my navigation?
/* for use with templates, you can optionally change the following
* three functions to use return instead of echo. this will return
* all the html text instead of directly displaying it.
*/
function display_booth($pid) {
echo symp_get_booth($pid);
}
function random_booth() {
echo symp_get_booth(-1);
}
function newest_booth() {
echo symp_get_booth(-2);
}
Thanks,
-Koby.
If you need all of the booth.php file coding, I can post it.

