Z?v?? Posted March 27, 2007 Share Posted March 27, 2007 I've got this error on a couple of my small mods such as the raffle.php.... Warning: Missing argument 4 for userdata() in /home2/lifecom/public_html/header.php on line 27 These are the lines from my header.php 25. EOF; 26. 27. } 28. function userdata($ir,$lv,$fm,$cm,$dosessh=1) 29. { 30. global $c,$userid; Anyone have any ideas on this? Quote Link to comment Share on other sites More sharing options...
UCC Posted March 27, 2007 Share Posted March 27, 2007 Re: help with a small error When you're calling the userdata function, are you making sure to pass in all 4 variables? I havent really seen $ir passed into a function that way either. Quote Link to comment Share on other sites More sharing options...
Z?v?? Posted March 27, 2007 Author Share Posted March 27, 2007 Re: help with a small error Nope, it wasn't passing in all 4 variables. I fixed it now though. Thanks for your help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.