how insert a file into a mysql database ?
Which type should I use ? with which attributs ? (binary) ?
How create my sql request ?
I try :
ALTER TABLE `user` ADD `certificat` VARCHAR BINARY NOT NULL
without any succes.
Error : You have an error in your SQL syntax near 'BINARY NOT NULL' at line 1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.