I have this code...
<a href="http://google.com.au/search?q=<?php the_title(); ?> - <?php the_category(' '); ?>" ><?php the_title(); ?></a>
Which I want it to turn out like this...
http://google.com.au/search?q=My Awesome Widgets - brown widgets
But it doesn't
Sooooooooooo I'd love if anyone could help me out to make it work.