942,520 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 232
  • PHP RSS
Jul 11th, 2010
0

This PHP thing is puzzling me

Expand Post »
I am trying to write a php code that will determine if a user has viewed the Facebook app before, and if they havent to show a "welcome page" instead of the normal "index" page. Is there a way to read the sql table and forward them to a "welcome page" first?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
iWalletMobile is offline Offline
15 posts
since Jun 2010
Jul 11th, 2010
0
Re: This PHP thing is puzzling me
The answer is probably yes but the question isn't totally clear. If this is your database, then at the start of the program, you read the database, determine if they did it before or not and then display the appropriate page. Could anything be simpler? There may be more to the question than what you stated previously so, if there is, please clarify.
Reputation Points: 210
Solved Threads: 228
Nearly a Posting Virtuoso
chrishea is offline Offline
1,389 posts
since Sep 2008
Jul 12th, 2010
0
Re: This PHP thing is puzzling me
you can also do it by setting a cookie
Reputation Points: 10
Solved Threads: 3
Newbie Poster
crivion is offline Offline
15 posts
since Jul 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Are Functions Processed if Not Called?
Next Thread in PHP Forum Timeline: Unknown column error





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC