Return mysql_query(SELECT)?

What is the value returned from the database?
$que = mysql_query($link, "SELECT * FROM `logins` WHERE `login` = '".$name."'");

As I understand it will not be such a "if value found then true if not found then false".

Once Google realized that such a request in the positive case, return line, but most information I found or was looking for good.

Help to decide what is returned from the query in case of success and failure.
Thanks in advance :)
June 5th 19 at 21:55
1 answer
June 5th 19 at 21:57
In the modern world php7+ - error in handling of unknown functions. Whatever, if you have done your.
In the Museum world - the result resource or false in case of error.
Please explain more clearly. Where I went to unknown functions? - florine_Leffl commented on June 5th 19 at 22:00
read carefully the red dice is: - Jovann commented on June 5th 19 at 22:03
Functions mysql_* are outdated in fact, with the release of PHP5.0 (2004), official warning about the coming destruction appeared since PHP5.5 (2013), in PHP7.0 was removed (in 2015). - Ignacio_Romaguera commented on June 5th 19 at 22:06

Find more questions by tags MySQL