PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
i am facing a problem i want to login my page by giving user name and password i am using this code but this is ot working properly kindly help me in this regard if any one knows th in advance
Just on a little tiny issue that isnt completely relevant. Try to use the relevant $_POST or $_GET instead of $_REQUEST. Although this will make little difference to the operation of your code, it does provide you with a better approach going forwards in terms of security and knowing where your variables are coming from.
Even better would be to get your $_POST or $_GET variables, filter and clean them up and then enter them into an array structure similar to $clean['varname'] so you know if the variable is in there, there is a high chance you have cleaned it ready for use.