CoreyR Posted March 30, 2007 Share Posted March 30, 2007 So, I'm trying to do some marketing research and I am looking to track which pages users go to and where they leave. On every link I have something like this <a href='somepage.php?pageid=about_us?userid=$randuserid and follow the user on the site. How would I generate $randuserid = (Random Number) Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Demonic Posted March 30, 2007 Share Posted March 30, 2007 $randomid = rand(1,2999); Quote Link to comment Share on other sites More sharing options...
CoreyR Posted March 30, 2007 Author Share Posted March 30, 2007 Thank you! Quote Link to comment Share on other sites More sharing options...
Trium918 Posted March 30, 2007 Share Posted March 30, 2007 Explain something to me please. What is pageid=about_us?userid=$randuserid and what does it do? Quote Link to comment Share on other sites More sharing options...
Hughesy1986 Posted March 31, 2007 Share Posted March 31, 2007 When people use yourpage?value=this&id=1 This is when you are sending information to your php script, using the $_GET[''] then to retrive that information you would use something like $name = $_GET['name']; Glen 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.