Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

add image in mysql database

CREATE TABLE 'sample'.'picture' ( 
'idpicture' INTEGER UNSIGNED NOT NULL AUTO_INCREMENT, 
'caption' VARCHAR(45) NOT NULL, 
'img' LONGBLOB NOT NULL, 
 PRIMARY KEY('idpicture')) TYPE = InnoDB;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #image #mysql #database
ADD COMMENT
Topic
Name
6+4 =