title: "comma" and urlencoding PHP
body: <p>On my site, a user can enter text in a field called "Description". I can get whatever text was entered by performing a query and returning this as <code>$description</code>. I eventually want to use this information to build a URL. I am running into issues if the user enters a "," in part of the text. As an example, let's say the user entered <code>"test description, test description"</code>. </p>
  
  <p><code>$description</code> will return as: <code>"test%20description,%20test%20description"</code></p>
  
  <p>Running <code>urlencode($description)</code> results in: <code>"test+description%2C+test+description"</code></p>
  
  <p>This is okay for the <code>"test+description"</code> part, but not the <code>%2C</code>. Ultimately what I am asking is, how can I instead return: <code>"test+description,+test+description"</code></p>