title: Convert mysql LONGTEXT value to VARCHAR value?
body: <p>I have a function that post on a users facebook wall.</p>
  
  <p>One thing that I send to facebook is some text that I get from my mysql table that is set to LONGTEXT. If I have the table set as LONGTEXT then the text is not send to facebook, but if I set the table to VARCHAR then the text is send to facebook!</p>
  
  <p>So how can I convert the LONGTEXT value that I get so it becomes like a VARCHAR value, before I send it to facebook?</p>
  
  <p>I use the table in many other places so I just cant convert the table itself to VARCHAR, its to much work! I have to convert the output instead.</p>
  
  <p>Any input appreciated thanks!</p>