Thanks for chiming in everyone.
I've done some teaching myself. And a long time ago I had the fun job (yes, paid... ) of helping CS101 students figure out why the compiler blew chunks on their code (hint: mind the semicolons). Even with five lines of code there are usually a dozen ways to do it differently and get the same result, and a hundred ways to mess it up. I can't teach you that in a simple response here.
I guess I could have also pointed out that "echo $foo;" will print "Array" instead of your resultset. You'll probably want to use a loop to print the array values. If you just want to debug, (to see if it worked), try var_dump($sponsor) instead. Oh, and you may want to SELECT * FROM if you have more than one column named sponsor. Oh, and if your SQL caused errors and returned nothing, you'll want to peek in the error logs, view the source, or add a few debugging statements. Even a misspelling or something simple can cause an error, and they don't all show up on your browser.
I can't stress enough... $30 on a decent Learning PHP (or PHP & MySQL) book (hopefully one as witty as the Learning Perl I still have on my bookshelf) will pay vast dividends.
In particular, a good book that walks through the language from basic to advanced (rather than a reference or cookbook that you only open when you have a problem to solve) will teach you about those other ways to do something, and which approach is better for a given situation, so you're not limited by copying code.