English 中文(简体)
MySQL案文 实地问题
原标题:MySQL text field issues

这是一个非常令人不解的问题,现在我已经找了几个小时,我知道这必须是简单的。 我正在使用XAMPP,我正试图更多地了解如何共同使用PHP和我的SQL。 当我创建行文和储存信息表格时,我尝试在纸面上添加信息,并将其作为纸面文件而不是文本储存。 我知道,这必须取决于我如何设立桌子或行文,但我已经走过了事,我认为我刚刚跳过一些东西。

* Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0
* MySQL client version: 5.1.37
* PHP extension: mysqli

即“Stekamyadmin info”。

最佳回答

当你重新编辑实地财产表时,有人会影响在phpMyAdmin介绍实地数据:“变换”。 当它被定为“申请/占用:下载”某个领域时, phpMyAdmin, 而不是展示“如同现在一样”文本,就可以下载其内容,作为“组合”文档和显示,作为该档案的“组合-档案”。

你们可以改变这种行为,把“浏览器转变”换成其他东西(一种空洞的价值是好的)。

问题回答

你们说的是,当你们做这样的事情的时候。

SELECT textfield FROM datatable;

在您的数据库中,你取得了以下成果:

+-----------------+
|    textfield    |
+-----------------+
| binary_file.dat |
+-----------------+

不要忘记你试图插入档案的内容?





相关问题
SQL SubQuery getting particular column

I noticed that there were some threads with similar questions, and I did look through them but did not really get a convincing answer. Here s my question: The subquery below returns a Table with 3 ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

php return a specific row from query

Is it possible in php to return a specific row of data from a mysql query? None of the fetch statements that I ve found return a 2 dimensional array to access specific rows. I want to be able to ...

Character Encodings in PHP and MySQL

Our website was developed with a meta tag set to... <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> This works fine for M-dashes and special quotes, etc. However, I ...

Pagination Strategies for Complex (slow) Datasets

What are some of the strategies being used for pagination of data sets that involve complex queries? count(*) takes ~1.5 sec so we don t want to hit the DB for every page view. Currently there are ~...

Averaging a total in mySQL

My table looks like person_id | car_id | miles ------------------------------ 1 | 1 | 100 1 | 2 | 200 2 | 3 | 1000 2 | 4 | 500 I need to ...

热门标签