[PHP-DB] php/mysql weblog - addnews function problems

2004-02-17 Thread Slippyaah
hey, I've been working on a PHP/MYSQL weblog and I've got most of it working apart from the adding new news function and a login section. I've set the form up but it is coming up with a few errors and the actual submitting of data doesn't work as of yet. The code is too long to include in this

[PHP-DB] Re: php/mysql weblog - addnews function problems

2004-02-18 Thread Slippyaah
Hey David, Well basically I think it's a problem with the declaration of variables and/or the way they are being processed by the form. Here is the individual addNews function: function addNews() { global $db; /* declare variables here? */ /* insert the new news entry */

Re: [PHP-DB] Re: php/mysql weblog - addnews function problems

2004-02-18 Thread Slippyaah
would greatly be appreciated cause I'm using this as an inclusion in a piece of coursework I'm doing and the deadline is looming! :/ thanks slippy "Doug Thompson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, 18 Feb 2004 09:35:22 -, Slip