I have just read the following code but do not understand why there is " and also ' used. Thank you!

```
$sql='SELECT uid,name FROM users WHERE user="'.mysql_real_escape_string($_POST['login_name']).'" AND ..

```