Welcome, Guest
  • Author Topic: Ecards - Backend MySQL database  (Read 18684 times)

    peri

    • Server what's that
    • *
    • Posts: 2
      • View Profile
    Re: Ecards - Backend MySQL database
    « Reply #15 on: 10/26/05, 02:30 »
    I Have the same question and at trying to install the app i became the errormessage in phpadmin:
    Invalid default value for(DEFAULT): 'ID'
    What does this mean?

    thx
    peri

    Alistair Brown

    • Server what's that
    • *
    • Posts: 11
      • View Profile
      • Email
    Re: Ecards - Backend MySQL database
    « Reply #16 on: 12/24/05, 07:57 »
    I like this system and I want it to work, but for some reason not all the cards are sent to the database, the reciever gets an email with a link OK
    but there is no record of that card on the database, am I missing something?

    I check the DB using PHP myAdmin and i see a warning
    PRIMARY and INDEX keys should not both be set for column `ID`
    what does this mean?

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: Ecards - Backend MySQL database
    « Reply #17 on: 04/17/06, 21:20 »
    Hi,
    you propably have set an index to the same feld as the promary key is set to.
    This makes no sense, because primary key is allready an index.
    Remove the index and everything will be working fine.
    happy flashing
    8)
    Ronald

    Alistair Brown

    • Server what's that
    • *
    • Posts: 11
      • View Profile
      • Email
    Re: Ecards - Backend MySQL database
    « Reply #18 on: 04/18/06, 03:36 »
    Ronald thanks for that, i've removed the index and I am now testing it.

    Thanx again

    Mohsin Sumar

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 1646
    • Mohsin Sumar, Extreme Web Technologies
      • MSN Messenger - mohsinsumar@hotmail.com
      • Yahoo Instant Messenger - mohsinsumar
      • View Profile
      • Extreme Web Technologies
      • Email
    Re: Ecards - Backend MySQL database
    « Reply #19 on: 07/22/10, 18:09 »
    Greetings

    Wow, its been long - 7 years since I started this thread. I hope its still useful for very basic php/mysql/flash learning. I have uploaded the zip download file on my website: http://www.mohsinsumar.com/tutorials/php-mysql-ecards-tutorial/

    I am unable to find the actual tutorial (tutorial.htm).

    Any body has a copy of this?

    Best Regards
    Mohsin Sumar
    Extreme Web Technologies
    www.extremewebtechnologies.com
    - Best Regards, Mohsin Sumar
    - Mohsin Sumar dot com is hosted by Extreme Web Technologies

    Alistair Brown

    • Server what's that
    • *
    • Posts: 11
      • View Profile
      • Email
    Re: Ecards - Backend MySQL database
    « Reply #20 on: 12/16/10, 06:40 »
    I searched my archive and found this
    www.softeasel.co.uk/cards/EcardsTutorial.html

    hope its what your looking for.