I pass an array of field values, to a function that creates a MySql update statement and reading the error it seems to doubt that my mysquli resources are correct.
I have included a copy of jobheadclass.php in here is the constructor for objects of jobhead class.
Three other functions are included as well, one = initialisejob works well, getmessage is trivial and the last of these is update newjobhead.
This function receives an array of data and is designed to update an existing record in the table. However there is a screen print with the following warning
Warning: mysquli_query() expects parameter 1 to be mysqli, null given in C:\wamp\bin\apache2.2.21\h
s.inc on line 134
Plus the following error
Fatal error: Call to undefined method mysquli::error() in C:\wamp\bin\apache2.2.21\h
s.inc on line 137
see file two messages.doc
I would be grateful if anybody can help
Thanks very much