Jump to content

chris-s

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Everything posted by chris-s

  1. Why not have a field that says if it's the correct answer? --------------------------------------------------- | id | question_id | answer | correct --------------------------------------------------- | 1 | 1 | Yes | NULL --------------------------------------------------- | 2 | 1 | No | 1 --------------------------------------------------- "No" is the correct answer to question #1... Obviously, don't display the "correct" column to the user...
  2. Not entirely sure what you're asking but... echo '<br/> phone: '.$row['phone'] . ' <a href="somehere.php">Delete</a>'; ?
  3. It's definitely dated. Uses the old mysql drivers... looks to depend on addslashes() for security. Looks like it can take a cookie value for the username, passing it to a query without sanitization. I say no.
×
×
  • 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.