Jump to content

Recommended Posts

Hello,

 

The subject may be a bit vague.

 

What I want is this. I have a page where I want to update information.

So lets say it is already:

Title - Milk

Category - Dairy

postDate - 9/18/2007

 

And I want to Change it to:

Title - Cheese

Category - Dairy

postDate - 9/18/2007

 

 

I want this page to display the information (before it is updated) in the edit field.

 

So right now I have this

<input name=title value="<?PHP echo $rows['deal_title'];?>"/>

 

What I am doing here, with the sql information excluded of course, is pull out the title of a row that was selected.

 

the information comes out but not well. One of the many input type "text" boxes are for inputting html links such as http://www.domain.com/ and the title would be used with html code as well (for visual formatting on the web page).

 

What ends up happening is when the information is first pulled from the database to fill in the values, after certain html characters (like > after <font...) the rest of information spills out of the text box and becomes uneditable because of this. Most of the code is also gone even though it is in the database.

 

How do I overcome this?

Links to any relevant information would be fine.

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/69781-reverse-sending-data-from-value-field/
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.