Hey,
I am trying to write a plugin that takes data from a form then stores it in the database
I have already got the form sorted it has two fields with the "name" Title and URL. The form "action" is "update.php". It gets to the right file, however it shows the following error:
Fatal error: Call to a member function insert() on a non-object in /home3/onezess5/public_html/ETG/wp-content/plugins/broker-uploader/update.php on line 18
The code for the update.php file is found here on pasetbin