title: how to add a percent symbol to a string value output from sql query
body: <p>This is probably more simple than I think, but I'm having a really hard time wrapping my head around this. I've been trying to learn how to code after a 10 year hiatus from it, so hacking and codecademy are my teachers. Anyways, ...</p>
  
  <p>What I'm trying to do is simply make a whole number from an sql entry a percentage.</p>
  
  <p>I have a form which when submitted enters an sql value whole number that is used to output a css value. I'm only trying to <strong>change the width value from a whole number to a percentage</strong> to allow some semblance for a responsive effect.</p>
  
  <p>Here's the php pre-output:</p>
  
  <pre><code>        &lt;video id="vp2_html5_rightSidePlaylist_'.$row["id"].'" width="'.$row["playerWidth"].'%" height="'.$row["playerHeight"].'" '.$preload_aux.'&gt;&lt;div class="xplaylist"&gt;'.$playlist_str.'&lt;/div&gt;&lt;/video&gt;
  </code></pre>
  
  <p>The output is as follows:</p>
  
  <pre><code>        &lt;video id="vp2_html5_rightSidePlaylist_1" width="100" height="297" preload="auto" src="http://localhost:888/test.mp4"&gt;
  </code></pre>
  
  <p>Thanks in advance for any help!</p>