Here's a snippet of my echo command:
echo 'onclick="derp(',$url,$image_dir,$file,')'
It currently outputs something like this:
onclick="derp(foobar)
But, I want it to output something like this:
onclick="derp('foobar')
Since PHP freaks out when you use quotes, I really don't know what to do.