I want to be able to ONLY trigger a php file. I'm using the code below.
When i use this, it actually opens the php (patentsList3.php) file in the browser window replacing my webpage? I only want to trigger the php - I don't want anything else hapening. How do I achieve this?
I tried removing "_self", but no success.
var SendLoad:LoadVars = new LoadVars();
var sendLV:LoadVars = new LoadVars();
var receiveLV:LoadVars = new LoadVars();
// add an onData method if you want to receive data from your php
Hi Kglad - thanks.
But it doesn't work as I expected. the php is supposed to open another webpage if the statement is TRUE and keep the current page open when it's FALSE.
when i used my previous code it did open the page when the if statement was true but the problem was it opened the php file when the if statement was false.
when i used your code nothing happened?
and what's your php code?