include("a.php");
echo "document.write('<marquee direction=\"left\" width=\"785\" height=\"25\" behavior=\"scroll\" scrollamount=\"3\" scrolldelay=\"0\" onMouseOver=\"this.stop()\" onMouseOut=\"this.start()\">".deneme()."</marquee>');";şeklinde dener misin
ayrıca deneme() fonksiyonu içinde echo mu veriyorsun yoksa return mu yaptırıyorsun