I am having trouble getting the following to work. This is the first time I have tried to use the concat function and although I got it to work at the sql prompt I cannot get it to work within a PHP script. Any help appreciated. Here's the line in question:
mysql_query("select concat_ws(' - ','department','asset') as depasset from setup");