How can I develop a registration form with matlab?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to develop a form for registration. I tried with this code but I have not known the problem! Please help me !
function buttoninscrire_Callback(hObject, eventdata, handles)
nom=get(handles.editnom,'String');
prenom=get(handles.editprenom,'String');
date=get(handles.editdate,'String');
ville=get(handles.editville,'String');
sexe=get(handles.editsexe,'String');
adresse=get(handles.editadresse,'String');
email=get(handles.editemail,'String');
telephone=get(handles.edittelephone,'String');
url = 'jdbc:mysql://localhost/pfe';
cnx = database('pfe', 'root', ' ', 'com.mysql.jdbc.Driver', url);
req='INSERT INTO utilisateur VALUES(nom,prenom,date,adresse,ville,sexe,email,telephone)';
con = exec(cnx,req);
curs = fetch(con);
curs.data
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Geometric Transformation and Image Registration dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!