How can I develop a registration form with matlab?
조회 수: 3 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!