title: Using curl to update mysql when curl spits out json
body: <p>Ok a rather strange question here (or maybe not)</p>
  
  <p>I am trying to pull tweets out of twitter using curl here is the command</p>
  
  <pre><code>curl http://stream.twitter.com/1/statuses/filter.json?track=XXhashtagXX -XXuserXX:XXpassXX
  </code></pre>
  
  <p>Every where there is an x that is a place for variables like twitter username and password and also the hashtag to look for.</p>
  
  <p>And this is using the twitter restful api which alerts your script everytime a change was made.</p>
  
  <p>In a console this curl command works perfectly but now i just need to take the output and save it to my mysql tables.</p>
  
  <p>Any help would be greatly appreciated.</p>