For a web service having this structure in PHP:
function getAlbums($quantity)
{
/* this is a sample array */
$albums=array();
$albums[0]['title']='Stripped';
$albums[0]['artist']='Christina Aguilera';
$albums[0]['genre']='Pop';
$albums[0]['songs'][0]='Beautiful';
$albums[0]['songs'][1]='Fighter';
$return=array();
for($i=0;$i<=$quantity;$i++){
$return[$i]=$albums[$i];
}
return $return;
}
I have it displaying fine in my browser with a PHP client, but now how do I parse it in ASP.NET to show the data?
Thank you.
The two things are completely opposite: they both are different language. You need something inn the middle between them. Preferably a database, at worse some kind of file system…