How can I develop a registration form with matlab?
2 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!