Dear all,
I have this php print function, I don't understand what it does exactly, can any one help me in writing the same function in vb.net?
function printerButton( $number )
{
global $applicationPath,$lang;
$vars = array();
$vars[] = 'b='.$number;
if( array_key_exists( 't', $_GET ) )
$vars[] = 't='.$_GET['t'];
if( array_key_exists( 'v', $_GET ) )
$vars[] = 'v='.$_GET['v'];
if( array_key_exists('n', $_GET ) )
$vars[] = 'n='.$_GET['n'];
return "$applicationPath/$lang/thank.php?".implode( '&', $vars );
}
then on button's click it will perform this script:
<script "LANGUAGE=QWINSCRIPT">
FUNC_PRINTER_BUTTON ( 2 2 )
</script>