Hello, I am basically "previewing" my data I am putting into a table and when I try to put the data back into the form, it gets truncated at the space (ie Title is Riders Go 8 and 0, I repost in the form and it cuts at Riders)
I have printed out the value of $title right up to when I post the data in the form again with value=$title - and basically UNTIL it gets to that command it is holding the FULL text (ie Riders Go 8 and 0)
Here is my code:
$title=trim($POST["title"]);
$author=trim($POST["author"]);
$select=trim($POST["selectionmade"]);
$message=trim($POST["message"]);
$submit_time=date("g:i:s a");
$submit_date=date("Y-m-d");
if ($select == "Preview")
{
echo "<html>
<head>
<meta http-equiv='content-type' content='text/html;charset=iso-8859-1'>
<title>CANADIAN MCFL</title>
</head>
<body bgcolor='#000000' text='black' link='#bd0008' vlink='#bd0008' alink='white' leftmargin='0' marginheight='0' marginwidth='0' topmargin='0'>
<div align='center'>
<font size='2' face='Verdana'>
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td valign='top'>";
left_menu();
echo "</td>
</tr>
</table>
</td>
<td width='0'></td>
<td valign='top' width='100%'>
<div align='right'>
<table width='98%' border='4' cellspacing='0' cellpadding='0' align='center'>
<tr>
<td bgcolor='#BD0008'><font size='3' color='white'><b>$title</b></font><br><font size='1' color='white'><b>Posted on $submit_date by $author @ $submit_time</b></font></td>
</tr>
<tr>
<td bgcolor='white'>
<div align='center'>
<table width='100%' border='1' cellspacing='2' cellpadding='0'>
<tr>
<td>
<blockquote>
<b><font size='1'>$message</font>
</blockquote>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<br><center><font size='1' color='white'><b>See the PREVIEW above and deicide if you wish to EDIT it below and preview again or simply SUBMIT the entery into the database.</b></font></center>
<br>
<div align='right'>
<table width='98%' border='4' cellspacing='0' cellpadding='5'>
<tr>
<td bgcolor='#BD0008'><font size='2' color='white'><b>CANADIAN MCFL SITE ADMINISTRATION</b></font></td>
</tr>
<tr>
<td bgcolor='white'>
<div align='center'>
<table width='100%' border='0' cellspacing='2' cellpadding='0'>
<tr>
<td>
<form action='process.php' method='POST'>
<b>Topic Title: </b><input type='text' name='title' size='60' value=$title><br>
<b>Author: </b><select name='author'>
<option value='League Commissioner' selected>League Commissioner
<option value='Other'>Other
</select><br>
<b>Message: </b><br><textarea name='message' rows=25 cols=95 value=$message></textarea><br>
<input type='submit' name='selectionmade' value='Preview'><input type='submit' name='selectionmade' value='Submit'><input type='reset' value='Clear'>
</form>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
What gives?? I have no idea why the form does not display the FULL data value of $title....
Any help will be great! Thanks!
Sundawg