I am making a website with registration and login. So I have a database where users information in stored. Now I want to get some info from this database. To be exact I want to get users password using PHP code. Right now my code is following:
<?php $result = mysql_query('SELECT password FROM users'); echo mysql_result($result, 4); ?>
I get this message, when I try to run my code:
Warning: mysql_result(): Unable to jump to row 4 on MySQL result index 8 in C:\xampp2\htdocs\Praks\seaded.php on line 20
How could I make it work?