Well as the question says am trying to insert a string value into a Soapclient request I know there should be some sort of term before the $searchTerm parameter, but I don't have a clue what it is any help would be much appreciated.
$searchTerm = $_GET['search'];
$client = new SoapClient('http://stuiis.cms.gre.ac.uk/dd615/' .
'aspweb/WatCoursework/Service.asmx?WSDL');
$xmlString = $client->getMusicdetailsSql()->getMusicdetailsSqlResult->$searchTerm;