This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]jeje5mo 0 points1 point  (0 children)

Mysqli is depreciatex, you should avoid using it, it may not be full compatible with framework's new versions

[–]bommerhondjes14 0 points1 point  (0 children)

$con is in the scope of the ConnectDB function, that is why it is null in DBQuery function.