This code
$x=$rs->getarray();
$list=explode("|", $x[0]['poll_answer']);
Gives me a php notice
PHP Notice: Undefined offset: 0
So, if I understand it well, the array is empty in this case, what to adjust in the code so it will not give me the notice anymore?