All of my mysqli
functions are not accepting empty parameters. When I do so I get the following error (example):
Warning: mysqli_close() expects exactly 1 parameter, 0 given...
When I use mysql_close()
I still get the same error. I have read the php documentation for mysql_close()
and it says that if no link identifier is given mysql_close()
will close the last opened mysql connection but it is not doing so.
How will I make them accept empty parameters?