How do I fix this: syntax error, unexpected ‘:’, expecting ‘)’

Your code: $bg = (!$bgimage == ”) ? ‘style=”background-image:url'(“”.$bgimage[url].'”)’ : ”; There’s a confusion with the quote marks. You’re closing your ‘ too early, but it’s really hard to see in a construction like this. (Also, the array index needs to be wrapped in quotes, either single or double.) $bg = (!$bgimage == ”) ? … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)