1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Duplicate entry???

Discussion in 'PHP' started by s_u_p_e_r_s_a_m, Jan 23, 2008.

  1. #1
    Hey,

    Im getting this error on my image hosting site after uploading an image.

    Any ideas what this means and how to fix it?

    - Sam
     
    s_u_p_e_r_s_a_m, Jan 23, 2008 IP
  2. xxKillswitch

    xxKillswitch Peon

    Messages:
    331
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to auto increment a table in your database. It should be a primary key table which you can auto increment through phpmyadmin.
     
    xxKillswitch, Jan 23, 2008 IP
    s_u_p_e_r_s_a_m likes this.
  3. s_u_p_e_r_s_a_m

    s_u_p_e_r_s_a_m Peon

    Messages:
    924
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the help. It works fine again now. :) Not sure why it stoped working in the first place though???

    - Sam
     
    s_u_p_e_r_s_a_m, Jan 24, 2008 IP
  4. hulkrana

    hulkrana Member

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    hello frds
    my code is already placed here.i needed to fetch multiple array value from table but inside js it is not posible to fetch multiple rows.plz check the code and advice me.

    thx
     
    hulkrana, Jan 24, 2008 IP
  5. xxKillswitch

    xxKillswitch Peon

    Messages:
    331
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Uh... what are you talking about? You should start a new thread about this. And if you are using javascript to access a database, DONT. Really, it's a horrible idea. Send me a pm.
     
    xxKillswitch, Jan 24, 2008 IP