Jump to content

[SOLVED] OOP problem


jrws

Recommended Posts

Hey guys, wow I have a lot of problems. Anyway this particular one is about registration.

So basically my user class extends the mysql class which is as its name suggests, about mysql functions. Anyway so a function called register is not working it is saying

Fatal error: Call to undefined function clean() in D:\xampp\xampp\htdocs\Website\v1\lib\classes\user.php on line 22

So, what is confusing me is that I thought functions could call functions as long as they exist somewhere? So yeah, if there is any particular code you need ask as I do not know what code to post. And thanks again for helping me.

 

Link to comment
https://forums.phpfreaks.com/topic/138118-solved-oop-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.