How can I develop a registration form with matlab?

조회 수: 3 (최근 30일)
Imen Mani
Imen Mani 2016년 1월 30일
편집: Image Analyst 2016년 1월 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개)

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by