Andreas: JV Variable an PHP übergeben

Beitrag lesen

Hallo Nils!

wie übergebe ich eine JavaScript Variable an  PHP (eine Php Variable).

Bei mir funktioniert es z.B. so:

<ungetestet>

index.php
---------
window.location.href = 'index2.php?details=on';

index2.php
----------

echo ("$details"); # liefert als Ausgabe "on"

</ungetestet>

Hoffe das funktioniert

Gruesse

-> Andreas