MySQL Text Box Issues

This is a pretty Nubian question, I have been looking for several hours, and I know that it should be simple. I am using XAMPP and I am trying to learn more about using PHP and mySQL. When I create a database and a table for storing information, I tried to insert information into the table and saved it as a .dat file, not text. I know that this should be with the way I set up the table or DB, but I went through everything and I think I'm just missing something.

* 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

i.e. phpmyadmin info.

+3
source share
2 answers

, , phpMyAdmin: " ". "application/octetstream: download", phpMyAdmin " ", () "binary_file.dat" URL- .

, " " - ( ).

+1

, -

SELECT textfield FROM datatable;

, , :

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

, , ?

0

Source: https://habr.com/ru/post/1747248/


All Articles