PHP database connection class

后端 未结 6 1954
名媛妹妹
名媛妹妹 2020-12-08 05:29

I am trying to get a users ID from a database within a class, but I have very little to no experience with classes, how could I go about getting the uid from the DB and then

6条回答
  •  时光说笑
    2020-12-08 06:27

    Alright, one piece of advice:

    Do everything for a reason. Don't use things you don't know. Go and learn them instead.

    One may give you an answer for this specific question, but until you don't know what Object Oriented means and why there are classes at all, you shouldn't use them.

提交回复
热议问题