Results 1 to 2 of 2

Thread: Insert Query Query <Resolved>

  1. #1

    Thread Starter
    Addicted Member señorbadger's Avatar
    Join Date
    Oct 2003
    Location
    Mud pools of wellingborough
    Posts
    193

    Insert Query Query <Resolved>

    Hi i got a quick question for inserting a record

    do i need to change my sql query becuase i am using a
    autonumber field since i have never worked with this.

    basically i want to know if i have a user ID field setup like...

    `idusers` int(10) unsigned NOT NULL auto_increment,

    would it affect my insert query

    would i need to say insert values into all fields but idusers by specifying all of the fields but idusers

    please help

    Sam Lad
    Last edited by señorbadger; Jun 11th, 2004 at 01:51 AM.

  2. #2

    Thread Starter
    Addicted Member señorbadger's Avatar
    Join Date
    Oct 2003
    Location
    Mud pools of wellingborough
    Posts
    193
    yeah i turns out you just insert into all the fields you want and good old mysql does the work for u

    thanks people

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