title: Save html5 canvas DataURL to mySQL (PHP, Javascript, mysql)
body: <p>My issue: I have the ajax code to take form elements and simple strings to a mysql db, but I'm not able to save the dataURL to mysql due to the way I'm passing it.</p>
  
  <p>I'm using</p>
  
  <pre><code>xmlhttp.open("GET","gethint.php?q="+str,true);
  xmlhttp.send();
  </code></pre>
  
  <p>I can alert(str) as the dataURL and it displays fine, but I'm not able to send it to the php page due to the characters within a dataURL. I know my code works because I can set str = "cheese" and it sets my database to cheese.</p>
  
  <p>How can I get around this? I've looked into "Post" but I'm not sure if that will help me either.</p>
  
  <p>Thanks</p>