View Single Post
  #8  
Old 02-27-2016, 12:44 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 127,211
Kyttias is on a distinguished road
Default

Hmm... I just put mine between the rename() and trade() functions that already existed. *shrug* At the end of the file the function will end, then class will end, and then the file will end, so:
PHP Code:
class MyadoptsView extends View# this is actually at the start of the file

    
public function editbio(){ 
        
/*....*/
    
# ends the function

# ends the class that begins at the start of the file
?> 
Ah, but the second part of step three, there is a version of editBio() in the non-view version of the file. Without it, I think you'd get the error you have, too.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.

Last edited by Kyttias; 02-27-2016 at 12:48 PM.
Reply With Quote