/ * * Put the picture into the structure of the mysql database * # data table` # #
Create Table Images (Picid Int (3) Not Null Auto_INCREMENT, PICDATA Longblob Not Null, Pictext Varchar (100) Not Null Default ', Primary Key (Picid) TYPE = MyISAM;
* / if (TRIM ($ PICFile [0])! = "") {$ link = @ mysql_connect ("localhost", "root", "root"); // Connect, replace root with your specific connection name, Specific connection password replacing root if ($ link == false) {echo "