I read the stuff in the php manual but I have a question
In the fist example
<?php
// Connect
$link = mysql_connect('mysql_host', 'mysql_user', 'mysql_password')
OR die(mysql_error());
// Query
$query = sprintf("SELECT * FROM users WHERE user='%s' AND password='%s'",
mysql_real_escape_string($user),
mysql_real_escape_string($password));
?>
Here mysql_real_escape_string escapes $user and $password.I can't find where they are defined.Are they user='%s' and password='%s' ?
Thanks in advance