Hello Umesh,
With few modifications, the conditions might be applicable.
<?php
session_start();
if (isset($_SESSION['username']) && isset($_SESSION['user_password'])) {
$username = $_SESSION['username'];
$user_password = $_SESSION['user_password']; //assuming $_SESSION[‘user_password’] = md5($row[‘password’]); //in some other page
} else {
$username = $_POST['username'];
$user_password = md5($_POST['user_password']);
}
?>
Your intention was not clear though. Please elaborate if your problem is not resolved.
Cheers!
--
You received this message because you are subscribed to the Google Groups "PHPGROUP24BROADWAY" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phpgroup24broad...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
HI Umesh,
Finding your own issues and solving them is a good sign for developers, you should always be ready to debug , distinguish the logical errors and syntactical errors.
Enjoy Coding! What about the task?
--
To unsubscribe from this group and stop receiving emails from it, send an email to phpgroup24broadway+unsub...@googlegroups.com.