• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Validation Errors

#4
When you open up the source file, look for the "&" symbol before the PHPSESSID variable in the URL.
Change that "&" to "&" (without the quotes). That should fix it. :)
 

~bk

I
Political User
#6
The "&" is in the ID of the poll. And in the plugin it's written as <?php echo $poll_question->id; ?>. So I can't really change it. :ermm: I searched through the plugin file to see if I can edit that but I couldn't.

Have asked the author of the plugin too. Let's see.
 
Last edited:

albybum

Penguin Rancher
#7
You might be able to do something like this, but it would assume there are no previous instances of ISO character codes like &amp; or &nbsp;

PHP:
  $contents = $poll_question->id;
  $search_pattern = array('&'); 
  $replace_with = array("&amp;"); 
  $contents=str_replace($search_pattern,$replace_with, $contents); 
  echo $contents;
 

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,013
Latest member
Pdawgintown