Results 1 to 2 of 2

Thread: Number not adding to SQL [RESLOVED]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2003
    Location
    Auckland
    Posts
    1,139

    Resolved Number not adding to SQL [RESLOVED]

    Hi have a code ehich i want to have the number value added to my sql database

    this is the html
    <option value"43"></b><font face="Verdana" size="2">Burnham</option>
    <option value"42"></b><font face="Verdana" size="2">Shirley</option>
    <option value"41"></b><font face="Verdana" size="2">Sydenham</option>

    my field is a INT (10)

    php is

    PHP Code:
    <?php 
    if ($action == "save"

    $result mysql_query ("INSERT INTO results_team (`team_id`,`team_name`,`team_sh_name`,`parent_club`,`team_logo`,`jumper_url`) Values ('','$team_name','$team_sh_name','$parent_club','$team_logo','$jumper_url')") or die("INSERT error: ".mysql_error());
    ?>
    only sometime does this add to my DB.... any ideas why???
    Last edited by kiwis; Apr 10th, 2005 at 03:21 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width