On Fri, 12 Nov 2004 15:41, Justin Baiocchi wrote:
> I use this when submitting the data from the form (for jokes):
>
> if ($submit)
> {
> $joke = nl2br($joke);
> $dbcnx = @mysql_connect( "localhost", "root", "password");
> mysql_select_db("movements");
> $sql = "INSERT INTO jokes SET author='$au
On 12/11/2004, at 4:05 PM, Amanda Hemmerich wrote:
I did a search for this in the archive but didn't find anything.
Is there a way to preserve the format of text in a textbox that is
being
saved in a database and then pulled out and displayed? The people
entering the data want to keep their tabs
I use this when submitting the data from the form (for jokes):
if ($submit)
{
$joke = nl2br($joke);
$dbcnx = @mysql_connect( "localhost", "root", "password");
mysql_select_db("movements");
$sql = "INSERT INTO jokes SET author='$author', joke='$joke', id='$id'";
mysql_query($sql);
echo "Thank you
3 matches
Mail list logo