OOP database connect/disconnect class

前端 未结 6 1450
无人及你
无人及你 2020-12-09 00:05

I have just started learning the concept of Object oriented programming and have put together a class for connecting to a database, selecting database and closing the databa

6条回答
  •  醉酒成梦
    2020-12-09 01:10

    you're not returning anything from connectdb() yet you're passing this function's return to mysql_close().

提交回复
热议问题