Can someone convert below code to ASP format?
<?php
$data = '
[
{
"A": "test",
"B": "test",
"C": "test"
},
{
"A": "test",
"B": "test",
"C": "test"
}
]
';
print($_GET['callback'] .'('. $data .')');
while I was testing cross domain restriction workaround, this code works fine with PHP server (of course) , thing is I’d like to implement this under ASP environment.
I tried here http://www.me-u.com/php-asp/hosting/asp.php though.
Thanks in advance.
Like, once?
The whole string concatenation business can be avoided if you are going to print out all of it anyway (e.g. there is no further use for it being in a variable):