How to deal with apostrophes

When you retrieve the data make sure to call stripslashes, or stripslashes_deep if it’s an array.

$name = stripslashes($name);

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