Okay, I've got a script that calls on a defined function, but I keep getting the following error message: Warning: Missing argument 3 for adr_use_skill_mining() in /home/directo/public_html/games/adr/includes/adr_functions_skills.php on line 122 Code (markup): Now the code that calls the function is this: $new_item_id = adr_use_skill_mining($user_id , $tool , $mine_type); PHP: $mine_type is defined a bit earlier in the script And the function called at line 122 is this: function adr_use_skill_mining($user_id , $tool , $mine_type) PHP: so as far as I can see, the argument isn't missing. What am I doing wrong?
Thanks, but it was something else entirely as it turned out. The code for that was correct, but elsewhere in the script the wrong page was being called.