About array
Posted: Fri Aug 30, 2002 4:09 pm
Hi all.
I have 3 pages (p1.php - p2.php - p3.php). Each this page has a code:
p1.php -> p1
p2.php -> p2
p3.php -> p3
I don't get to make the string test receive, for example, p2, p3, p1 and record this value in database. Why this ?
When the user acess p2 in first time, the script records this value in $test. If the user access again the same page, the message is "You just take it"
So, the user access only one time each page. But I cant get to record like a array, for example.
Can you help me, please ?
Thank you
I have 3 pages (p1.php - p2.php - p3.php). Each this page has a code:
p1.php -> p1
p2.php -> p2
p3.php -> p3
I don't get to make the string test receive, for example, p2, p3, p1 and record this value in database. Why this ?
When the user acess p2 in first time, the script records this value in $test. If the user access again the same page, the message is "You just take it"
So, the user access only one time each page. But I cant get to record like a array, for example.
Can you help me, please ?
Thank you