EEPROM as MySQL code needed

People,
i've used "Arduino Playground - HomePage" but it only has ADD and READ function, i need UPDATE function for ma security system changing password for more then 2 users.
whenever i need 2 chng password i hav 2 re-program it, plz help.

whenever i need 2 chng password i hav 2 re-program it, plz help.

This isn't Twitter. You can use proper words here.

Actually, you have the following functions:

    boolean write(byte recno, const DB_Rec rec);
    boolean read(byte recno, DB_Rec rec);
    boolean deleteRec(byte recno);	                // delete is a reserved word
    boolean insert(byte recno, const DB_Rec rec);
    void    append(DB_Rec rec);

It looks like all you need to do is read() the existing record, modify the password and then write() it back again.

Thank you for your replay, and sorry but, could you please give me any examples.
thank you so much about your help :D.

dxw00d:
Actually, you have the following functions:

    boolean write(byte recno, const DB_Rec rec);

boolean read(byte recno, DB_Rec rec);
    boolean deleteRec(byte recno);                 // delete is a reserved word
    boolean insert(byte recno, const DB_Rec rec);
    void    append(DB_Rec rec);




It looks like all you need to do is read() the existing record, modify the password and then write() it back again.

dude, please give me example with EEPROM DATABASE.
PLEASE. IT'S V. IMPORTANT TO ME.

Please don't shout.
You've been given examples - what's the problem?

ashish-k:
dude, please give me example with EEPROM DATABASE.
PLEASE. IT'S V. IMPORTANT TO ME.

http://arduino.cc/playground/Code/DatabaseLibrary

That page doesn't mention MySQL. How did that idea get into your head?

Search for “Arduino”.

Dear sir,

thank you for your replay, now i got the code to update the password.

thankx a lot "dxw00d",

and Sir "Nick Gammon" i just want to know about update function and i got it.

thank you for all your help. :slight_smile: