Hi,

I have a function like so

function updateForm()
{
        global $link;
        $query = "UPDATE badgers
                        SET
                                        lname = '$lname',
                                        fname = '$fname'
                        WHERE
                                ID = '$ID'";
mysql_query( $query, $link );
}

is there a simple way to access the global form values without working out
which method was used and then using the global keyword on the
HTTP_POST_VARS / HTTP_GET_VARS??

Regards

Tom Hodder


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to