Page 1 of 1

username in form?

PostPosted: Sat Apr 22, 2006 4:33 am
Author: Skywalker
how can i make it that a username is automatic filled in in a form?

adding 'USERNAME' => $userdata['username'], in the php file and {USERNAME} in the form in the template does not work...
it just shows {USERNAME}

help please i'm stuck here...

Re: username in form?

PostPosted: Thu May 18, 2006 8:03 am
Author: Michaelo
Code: Select all
 To check the info from form use]) ? phpbb_clean_username($HTTP_POST_VARS['username']) : '';  To assign use:'USERNAME' => $username,  In form use:<input>  In File (tpl)  use:{USERNAME}  


Mike