Jump to content

One thing with line breaks for text boxes.


Kyle

Recommended Posts

  • Moderators

Ok, I'm trying to find out what the heck is going on, I'm adding some part to my phpVMS for pilot accounts in PilotAdmin.php and it's for the text box and whenever I go to the next line, I want it to create a line break like this <p> and to the array, It's telling it's wrong,

can anyone comeplete this for me please?

'history' => (nl2br(PilotData::bb(strip_tags($this->post->history, '<p>')));

I'm not sure what the heck is going on, I'm trying to get it working with that <p> for the textbox.

Any help would be great!!!

Link to comment
Share on other sites

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.

Loading...
×
×
  • Create New...