Jump to content

[SOLVED] input value problem


Recommended Posts

I am writing a CMS for creating email blasts and when it comes to the editing part I get the following problem:

 

echo "<div class='editor'>";
						echo "<p class='editortitle' style='padding: 4px 0px 4px 0px; margin: 0px;'>Bookmark Link One</p>
								<input type='text' name='story_one' style='margin-bottom: 15px; width: 400px;' value='" . $row['story_one'] . "'/>";
						echo "<p class='editortitle' style='padding: 4px 0px 4px 0px; margin: 0px;'>Bookmark Link Two</p>
								<input type='text' name='story_two' style='margin-bottom: 15px; width: 400px;' value='" . $row['story_two'] . "'/>";
						echo "<p class='editortitle' style='padding: 4px 0px 4px 0px; margin: 0px;'>Bookmark Link Three</p>
								<input type='text' name='story_three' style='margin-bottom: 15px; width: 400px;' value='" . $row['story_three'] . "'/>";
						echo "<p class='editortitle' style='padding: 4px 0px 4px 0px; margin: 0px;'>Bookmark Link Four</p>
								<input type='text' name='story_four' style='margin-bottom: 15px; width: 400px;' value='" . $row['story_four'] . "'/>";
					echo "</div>";

 

in the browser story_one, three, and four display all the way but not two. It cuts off at the word don't, but it only displays don not with the 't and in my database it is setup for text. Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/104738-solved-input-value-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.