Jump to content

sharpdust

Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

sharpdust's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. In the tutorial "Creating a Membership System". To check if a user is logged in or not they check to see if the session first_name variable matches. [code]function session_checker(){ if(!session_is_registered('first_name')){ include 'login_form.html'; exit(); } [/code] Is this really secure? Wouldn't it better to check if the user has the right username or better, the right userid #?
  2. Is it possible to insert a table inside of a another table? And what would be the sql command to do it? For example, I have a form that will have 4 checkboxes. Rather than creating 4 fields within my table for those checkboxes, I would rather create a field that is a table with the 4 fields within it. Another example of this would simply be a poll with 4 options. Thanks.
×
×
  • Create New...

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.