Jump to content

$this-> Bugs me


gotornot

Recommended Posts

Ohh right I See, my bad... mis-read original post bud.

 

I've never ran into this problem, as I tend to shy away from Classes, I just don't like how they look when coded, I prefer using functions for anythingI need doing.

This is just preference though, and also depnds on the job it needs to do... posting maybes the class and is usage may help someone to answer you question thoroughly :)

 

Regards, Paul.

Link to comment
https://forums.phpfreaks.com/topic/215443-this-bugs-me/#findComment-1120312
Share on other sites

What you do to fix a problem is dependent on what the problem is.

 

Do you have a specific example (for all we can tell the $this-> in your code is there because it IS part of a class and your script is not working due to some other problem.)

Link to comment
https://forums.phpfreaks.com/topic/215443-this-bugs-me/#findComment-1120314
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.