i'm currently in the process of creating a PHP shopping cart but keep i'm stuck with the error "Strict Standards: Only variables should be passed by reference PHP Shopping Cart". I've researched the error, found many different explanations as to why this is happening. I can't seem to resolve the issue. Any help would be much appreciated. Please see my code below.
$img=mysql_real_escape_string(end(explode('/',$_POST['img'])));