大家好,我创建了一个表单,只是将项目的描述上传到数据库,但是当我回显该内容时,它缩短了描述,我的描述是 500 字,我只看到 100
<?php
include('config.inc');
// Connect to the database
$dbLink = $con;
// Gather all required data
$description = mysql_real_escape_string($_POST['description']);
// Create the SQL query
$query = "
INSERT INTO `paid_reports` (
`description`,
)
VALUES (
'{$description}',
)";
// Execute the query
$result = $dbLink->query($query);
// Close the mysql connection
$dbLink->close();
}
else {
echo 'Error! A file was not sent!';
}
MySql:表
0 description tinyblob 0 0 0
有任何想法吗?
请不要虐待我我来这里寻求帮助我正在寻求帮助。:)