MySQL error! Go - Link Shortner

Shorten your URLs

Ever had a long URL you wanted to share with someone but it is too long? By using "Go" Link Shortner you can turn this:

https://www.google.com/#safe=active&sclient=psy-ab&q=Alex+Riggs.com&oq=Alex+Riggs.com&gs_l=hp.3...2051.8553.0.8967.29.15.12.1.2.0.140.1293.9j6.15.0....0...1c.1.22.psy-ab..2.27.1162.e18wBBy1MyM&pbx=1&bav=on.2,or.r_cp.r_qf.&bvm=bv.49784469%2Cd.eWU%2Cpv.xjs.s.en_US.MpiVkF51mpA.O&fp=dbd40e074ea0c8e1&biw=1440&bih=775
into this:
http://alexriggs.com/go/alex

Create a short

Simply insert the orginal link, type in a new one (or leave blank for a random one), then click Shorten!

alexriggs.com/go/

Recent Shortens

Notice: Undefined variable: dbh in /home2/alexriggs/public_html/go/index.php on line 67

Fatal error: Uncaught Error: Call to a member function prepare() on null in /home2/alexriggs/public_html/go/index.php:67 Stack trace: #0 {main} thrown in /home2/alexriggs/public_html/go/index.php on line 67