MySql Max entry length
Posted: Mon Sep 22, 2003 3:18 pm
What is the maximum amount of data you can store in a single row? I have a site that requires large amounts of text to be stored per row? Is there any way I can achive this?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<?php
if ($_POST['c'] != 1)
{
?>
<form name="form1" action="faq.php" method="POST">
<input type="hidden" name="c" value="1">
<input name="question" type="text" id="question" value="Enter question here" size="50">
<br>
<textarea name="answer" cols="50" rows="5" id="answer">Enter answer here</textarea>
<br>
<input type="submit" value="Search!">
</form>
<?php
} else if ($_POST['c']==1) {
include("connect.php");
include("dbselect.php");
$question = $_POST['question'];
$answer = $_POST['answer'];
$result = @mysql_query("INSERT INTO faq (question, answer) VALUES ('$question','$answer')");
echo 'FAQ Updated';
echo '<P> Click <a href="faq.php">here</a> to make another entry';
}
?>