BaldNut
09-29-2002, 01:42 PM
Right the end result is that im offering my users to take part in a challenge (slimming) if they are interested i want them to just press a button that would say "Join 8 Week Challenge" upon pressing the button i would then either recieve there username via e-mail or the preffered choice would be that it would automatically be displayed on a page via the database, so as people join everyone can see who is gonna be on the challenge, and this minimises my work dealing with loads of emails also.
So i need to know how i would create a link that upon pressing logged in users $username would be sent to either the database or to email, without them typing there username in.
And if they where not logged in or not registered it would divert them to the not logged in or register page?
Anyone got any ideas how to do this?
My m8, came up with this as being the kind of thing we want to do: <input name="username" type="hidden" value="<php echo $username; ?>">
So i need to know how i would create a link that upon pressing logged in users $username would be sent to either the database or to email, without them typing there username in.
And if they where not logged in or not registered it would divert them to the not logged in or register page?
Anyone got any ideas how to do this?
My m8, came up with this as being the kind of thing we want to do: <input name="username" type="hidden" value="<php echo $username; ?>">