How is it possible to pass a variable from php script to a vb script in the same page, bit of a problem when vbscript doesn't work with session variables.
: How is it possible to pass a variable from php script to a vb script : in the same page, bit of a problem when vbscript doesn't work with : session variables. :
I dont want 2 sound rude but may u rephrase ur problem. I would suggest u post ur snippet as well.
... [color=Purple]script language='vbscript'> Sub someFunctionOrProcedure() msgbox("Printing value from PHP var : ".[color=Blue]<?php echo $myPhpVar; ?>)[/color] //Another example $myVbVarFromPHP = [color=Blue]<?php echo $myPhpVar ?> [/color] End Sub [/color]
Comments
: in the same page, bit of a problem when vbscript doesn't work with
: session variables.
:
I dont want 2 sound rude but may u rephrase ur problem. I would suggest u post ur snippet as well.
Is this what u want?
[code][color=Orange]<?php
session_start();
[color=Blue]$myPhpVar[/color] = $_SESSION['myKey'];
?>[/color]
...
[color=Purple]script language='vbscript'>
Sub someFunctionOrProcedure()
msgbox("Printing value from PHP var : ".[color=Blue]<?php echo $myPhpVar; ?>)[/color]
//Another example
$myVbVarFromPHP = [color=Blue]<?php echo $myPhpVar ?> [/color]
End Sub
[/color]
.
[/code]
...