php - Pass user id in a mail form for registered user -
i pass user id (which email, in case) in email form. here php registered users only:
$login_information = array( 'zubrag' => 'root', 'admin' => 'adminpass', 'phuket@iceagethai.com' => 'phuket' );
here use in form:
<input type="hidden" name="email" value="<?php global $id; ?>">
how should write form field? googled around confused...
what importance of inserting user id on input field? if want reuse user id after user login system, assign user id on session variable , user id session variable.
Comments
Post a Comment