to all,
i am not sure how to retrieve a value from the database. ok, i am suppose to put a value into my mailing code. here's part of the code:
emphasize is on "<br>Your Password : "; what's the code to retrieve the value from my database to put it there?
pls help
i am not sure how to retrieve a value from the database. ok, i am suppose to put a value into my mailing code. here's part of the code:
PHP Code:
if ($numRows){
$sqlTxt = 'SELECT password FROM tblMembers WHERE password = \''.$_POST["txtConUser"].'\'';
$rs = mysql_query($sqlTxt);
//$numRows = mysql_num_rows($rs);
/*Member successfully created, send the activation mail now */
$mail = new as_Mail();
$mail->to = $_POST["txtConEmail"];
$mail->from = "[email protected]{$_SERVER['SERVER_NAME']}.com";
$mail->cc = "[email protected]";
$mail->bcc = "[email protected]";
$mail->subject = "**BULK** Your Password For Halo Account!";
$myMsg = "This is the time this <b>mail</b> was generated: " . date("F j, Y, g:i a") .
"<br>This Is Your Password To The Kote Account" .
"<br>Your Password : " ;
$mail->body = $myMsg;
$mail->rigorous_email_check = false;
pls help
Comment