Warning: Extract(): First Argument Should Be An Array InSep 25, 2003
I'm creating a program to edit the details of members of an executive committee stored in a MySQL database. However, I recently have started getting the following error:
Warning: extract(): First argument should be an array in (lists file name and location of error)
To give a little background, the user selects the member to be edited from a drop-down list, which then passes the execID associated with that position to this program, which then queries the table for all the details of that particular member. However, I get the above mentioned error located to the line after "extract($row)".
I'm sure the solution to this is obvious to more experienced users, but I am baffled as I have used an almost identical setup for another project without experiencing the same error. I appreciate that the results of a query are loaded into an array, but I don't understand why a one-row result should cause such an error. PHP Code: