gk20 Posted March 3, 2006 Share Posted March 3, 2006 I have a small ads website, and upon registration users may login and place ads.But when they place their ads, I want the system to store their ad along with usernamewithout asking them to provide it again. Is there anyway that the system can store their username in a variable after successful login (from login.php) and use it later when placing an ad (in placead.php)??? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted March 3, 2006 Share Posted March 3, 2006 yes if you are talking about them logging in, placing an ad and it auto storing those together then you need only to use a session or a cookie.easy to write so go and look at the those sections on the php site. Quote Link to comment Share on other sites More sharing options...
gk20 Posted March 3, 2006 Author Share Posted March 3, 2006 OK, thanks will do! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.