当我创建我的表时,我知道如何将数据插入到字段中,但我不知道如何将图像从我的文件系统插入到 blob。
$sqlCommand = "INSERT INTO pages (page_title,page_body,links,thumbs) VALUES
('Flash Gallery','Use Actionscript to build a Flash Photo gallery','http://www.google.com','what do i put here????'),
('Flash Website','Learn to create a full flash website template','http://www.google.com','what do i put here????'),
('XML RSS FEED','Learn to assemble XML RSS Feeds for your website','www.google.com','what do i put here????')";