Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/63.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/sql/75.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mysql 创建从文件系统到blob的表插入映像(如何)_Mysql_Sql_Insert_Phpmyadmin_Blob - Fatal编程技术网

Mysql 创建从文件系统到blob的表插入映像(如何)

Mysql 创建从文件系统到blob的表插入映像(如何),mysql,sql,insert,phpmyadmin,blob,Mysql,Sql,Insert,Phpmyadmin,Blob,当我创建表格时,我知道如何将数据插入字段,但我不知道如何将图像插入文件系统中的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????'

当我创建表格时,我知道如何将数据插入字段,但我不知道如何将图像插入文件系统中的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????')";

您使用的是哪种数据库管理系统?那么哪个SQL客户端呢?phpmyadmin、mySQL、im目前正在本地主机上使用xampp。。