thanks to all of you! this sign was the seed of all evil.

move it into an JS-Array helped to solve it

var temp_rezept_array = new Array(<?php echo count($rezept);?>);
//Schleife
<?php
for ($i=0;$i<count($rezept);$i++) {
    echo "temp_rezept_array[".$i."] = \"".$rezept[$i]."\";\n";
}
?>

thx sebastian

Todd Ross schrieb:
On 2/10/06, Sebastian Kurt <[EMAIL PROTECTED]> wrote:
there are no ' in $rezept_vorgabe[$i]. i add the in the loop(PHP), see
        for ($i=0;$i<$ende;$i++) {
                echo "'".$region_vorgabe[$i]."'";
        }

You are mistaken.

'Costa Rica',
'Cote d'Ivoire',
'Daenemark'

d'Ivoire needs to be escaped d\'Ivoire

Todd


--
mailto:[EMAIL PROTECTED]
0179 7923088
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to