Jump to content

Archived

This topic is now archived and is closed to further replies.

gk20

writing to database

Recommended Posts

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 username
without 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)???


Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.