Flash + PHP LoadVars Array

Hi everyone one…I’m stuck. I want to load headlines that are linked to URL(s) into my flash movie where the dynamic txt box(tickertxt) is here:

_root.scroll.scrollbox.tickertxt

I am working along with my programmer and he built php page that says:

num=1&url1=ticker.php%3Fid%3D1&headline1=Test

here is my actionscript. I cannot get it work:

newsItems=new Array();
myVars = new LoadVars();
myVars.load(“ticker.php?flash”);
function () {
for (x=1; x<total;x++){
newsItems[x]=new Array();
var what=“url”+x;
newsItems[x][0]=myVars.what;
what=“headline”+x;
newsItems[x][0]=myVars.what;
}
for(x=1;x<total;x++){
newsItems[x][1]+"<a href=""+newsItems[x][0]+ “”>Click here for more</a>";
}
}

What is wrong?? Flash shows no errors. Frustrated.

Any help??