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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.