I'm printing results in javascript and when i view the page source it shows like this
s = new slide();
s.src = "http://www.barelyfitz.com/projects/slideshow/pics/pic04i.jpg";
s.text = "Sione Faumuina on notice from Cowboys
New Zealand Herald - League
New Zealand Herald - League
League: Rusty All Golds leave it late to show mettle
";
But should be
s = new slide();
s.src = "http://www.barelyfitz.com/projects/slideshow/pics/pic04i.jpg";
s.text = "Sione Faumuina on notice from Cowboys New Zealand Herald - League New Zealand Herald - League League: Rusty All Golds leave it late to show ttle";
So not on more than one line
My PHP is
$title = strip_tags($row78['Title']);
?>
s = new slide();
s.src = "http://www.barelyfitz.com/projects/slideshow/pics/pic04i.jpg";
s.text = "<?php echo $title; ?>";
SLIDES.add_slide(s);
<?php
}
What can I do?