html - Php syntax error, little help -
i have string:
$imagename ="$ad_id_stripped"."_1".".jpg"; $display_table.="<a href='../ad.php?ad_id=$row[ad_id]' target='_parent'> <img style='border:none;' src='../ad_images/$category/thumbs/$imagename?time()' class='shadow'></a>";  echo $display_table;   as maybe can see trying add time() function in there... however, there no time() added this! have tried various quotes etc without luck...
any ideas?
thanks
$imagename ="$ad_id_stripped"."_1".".jpg"; $display_table.="<a href='../ad.php?ad_id=$row[ad_id]' target='_parent'> <img style='border:none;' src='../ad_images/$category/thumbs/$imagename?" . time() . "' class='shadow'></a>";  echo $display_table;   you want time() function out of string , concatenate
Comments
Post a Comment