Creating a mysql submitter

Discussion in 'PHP' started by cornetofreak, May 15, 2008.

  1. #1
    i need to make i mysql insert form to insert details into my db

    here are my tables and i need to have some defaults in with it

    `id`, `url`, `caption`, `lastcheck`, `checked`, `fsize`, `source`, `type`

    id = auto increment
    lastcheck = 0000-00-00 00:00:00
    checked = 0
    type = 0

    they must be the default inserts

    user shall input url, caption, and `type` as a drop down box

    consisting of

    rapidshare type = 1
    badongo type = 2
    mediafire type = 3
    sendspace type = 4
    4shared type = 5

    please help me
     
    cornetofreak, May 15, 2008 IP
  2. !Unreal

    !Unreal Well-Known Member

    Messages:
    1,671
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    165
    #2
    I think this is what you are looking for.Link
     
    !Unreal, May 15, 2008 IP
  3. NatalicWolf

    NatalicWolf Peon

    Messages:
    262
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Look into using the default parameter when making your table, or you can possibly edit the table and add default values.
     
    NatalicWolf, May 15, 2008 IP