php - Inserting a MySQL table column into a PHP document -
i'm new php , have been working on variation of system using. system comprised of php, html , css (duh). it's user registration , management system.
at current, if want insert current user's email address, have insert <?= $fgmembersite->useremail(); ?>
, display current user's email address.
i've added custom field database table, , want able reference on page, above code does.
here screenshot of mysql table:
and here pastebin of php: pastebin
i apologize if i'm not making sense, new php , trying hardest make question easy possible possible helpers. thankyou in advance.
after looking through code found mistake. mistake in
function checkloginindb($username,$password)
in $qry
selected columns name , email not domain.
you should replace $qry
following:
$qry = "select name, email, domain $this->tablename username='$username' , password='$pwdmd5' , confirmcode='y'";
Comments
Post a Comment