PDA

View Full Version : Please Help - LoadVars and OPen window


nathanleyton
07-09-2003, 04:12 PM
I am a bit of a newbie and am trying to pass 3 variables to
a php script and then open the page in a new browser
i currently have this code.. I know its wrong can anyoneplease help me...

Thanks

here is the code


on (release) {
getStats = new LoadVars();
getStats.sendClientID = sendClientID;
getStats.startdate = startdate;
getStats.enddate = enddate;
getStats.sendAndLoad("http://localhost/OnlineStats/getCallSummary.php", getStats, "POST");
}

tg
07-09-2003, 06:30 PM
keep everything the way you have it, but change:

getStats.sendAndLoad("http://localhost/OnlineStats/getCallSummary.php", getStats, "POST");
to:
getStats.send("http://localhost/OnlineStats/getCallSummary.php", "_blank", "POST");


unless i've misunderstood what you want, this should work.

nathanleyton
07-09-2003, 09:57 PM
thanks man..


That'll be it.. I sould have tried that.. silly me..

Thanks Again

Nathan