eerst voeg ik een klant toe met behulp van de volgende MySQL Query onder PHP :
"INSERT INTO customers (username, password, mail, gender, name1, name2, name3, street1, street2, postal1, postal2, place, phone1, phone2, activated, activation) VALUES ('".$_SESSION[post][username]."', '".$_SESSION[post][password1]."', '".$_SESSION[post][mail]."', '".$_SESSION[post][gender]."', '".$_SESSION[post][name1]."', '".$_SESSION[post][name2]."', '".$_SESSION[post][name3]."', '".$_SESSION[post][street1]."', '".$_SESSION[post][street2]."', '".$_SESSION[post][postal1]."', '".$_SESSION[post][postal2]."', '".$_SESSION[post][place]."', '".$_SESSION[post][phone1]."', '".$_SESSION[post][phone2]."', 'no', '".$actcode."')"
en als ik al die velden wil laten aanpassen. hoe ziet mijn mysql querty er dan uit ?
"UPDATE customers .....????
"INSERT INTO customers (username, password, mail, gender, name1, name2, name3, street1, street2, postal1, postal2, place, phone1, phone2, activated, activation) VALUES ('".$_SESSION[post][username]."', '".$_SESSION[post][password1]."', '".$_SESSION[post][mail]."', '".$_SESSION[post][gender]."', '".$_SESSION[post][name1]."', '".$_SESSION[post][name2]."', '".$_SESSION[post][name3]."', '".$_SESSION[post][street1]."', '".$_SESSION[post][street2]."', '".$_SESSION[post][postal1]."', '".$_SESSION[post][postal2]."', '".$_SESSION[post][place]."', '".$_SESSION[post][phone1]."', '".$_SESSION[post][phone2]."', 'no', '".$actcode."')"
en als ik al die velden wil laten aanpassen. hoe ziet mijn mysql querty er dan uit ?
"UPDATE customers .....????