1. javascript URL- php.
window.open("<yourPhpScript>.php?jsvariable="+yourJSVariable);
2. , $_GET php script.
$jsVaribleInPhp=$GET['jsvariable'];
//do some operation
$yourPhpResult;
3. Php .
header("Location:<your starting page>?result=".$yourPhpResult);
4. , , , PHP.
Php Javascript -.
, php script js. .
, !
source
share