Jump to content

Jutboy420

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Posts posted by Jutboy420

  1. I'm trying to keep track of all the movies a person votes for via their IP address.

    This script inserts the users ip address and the fact they voted for movie 1 by changing the column 1 (signifying movie one) to the number 1 (default = 0 = not voted)...I really want to make the column 1 a variable and really don't want to change using an int as as my column.

    $sqlr = "INSERT INTO voters (ip,1) VALUES ('$ip',1)";
    mysql_query($sqlr) or die(mysql_error());

    all values confirmed....db structure checked.

    Please help!! Thank you so much - Justin
×
×
  • 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.