laserlight wrote:
What have you tried? If you have not tried anything up to this late hour, then yes, you deserve to fail.
That was morally discouraging to hear those words. Well it was my mistake of expecting to get something solved here without posting the query fully, that i gave a chance for you to say that. well try figuring out whats wrong in this piece of code..... it was this which made me go uhmmm after 4 yrs of getting my hands dirty with PHP and MySQL
<?php
include "init.php";
$query = "SELECT uname, upass, fname FROM user WHERE uname= xyz";
$result = mysql_query($query);
echo $result['uname'];
echo $result['upass'];
echo $result['fname'];
?>
there are no errors displayed as such..in fact nothin is displayed.. and btw, consider that there exists an entry for "uname =xyz"
Thanks in advance for your comments....