Tuesday, 20 August 2013

Running a PHP Script without redirecting or refreshing the page

Running a PHP Script without redirecting or refreshing the page

pI am very new to PHP and Javascript. Now I am running a PHP Script by
using but it redirect to another page. the code is/p precodelt;a
name='update_status' target='_top'
href='updateRCstatus.php?rxdtime=.$time.amp;txid=.$txid.amp;balance=.$balance.amp;ref=.$ref.'gt;Updatelt;/agt;
/code/pre pHow do I execute this code without redirecting to another page
and get a popup of success and fail alert message./p pMy script code is
-/p precodelt;?PHP $rxdtime=$_GET[rxdtime]; $txid=$_GET[txid];
$balance=$_GET[balance]; $ref=$_GET[ref]; -------- SQL Query -------- ?gt;
/code/pre pThanks in advance./p

No comments:

Post a Comment