2 Attachment(s)
Please help I'm get an error in my code
im getting this error on my website member control
"Warning: Missing argument 1 for dataGrid::render(), called in /home/hotonlin/public_html/memberarea.php on line 92 and defined in /home/hotonlin/public_html/class.datagrid.php on line 636
Notice: Undefined variable: returnOutput in /home/hotonlin/public_html/class.datagrid.php on line 1104" I enclosed my php file and it in a txt file thank you to all how help
Re: Please help I'm get an error in my code
It is kind of hard to trouble shoot this with out seeing the calling code which I would assume is residing in memberarea.php
Re: Please help I'm get an error in my code
umm. yeah, can you upload your members page as well. and you uploaded the class page 2 times, in 2 different formats...
1 Attachment(s)
Re: Please help I'm get an error in my code
sorry about that here the members page
Quote:
Originally Posted by dclamp
umm. yeah, can you upload your members page as well. and you uploaded the class page 2 times, in 2 different formats...
Re: Please help I'm get an error in my code
Your problem is in your memberarea.php . Just like what the error states, On line 92 in memberarea you are calling the function render() without sending a variable along with it. except in your class, render is defined with a variable being sent to it. So php is telling you, you are missing an argument.
Re: Please help I'm get an error in my code
thank you!! , I don't really understand how to fix it I no really no php im good at vb6 but clueless on php.
Quote:
Originally Posted by zalez
Your problem is in your memberarea.php . Just like what the error states, On line 92 in memberarea you are calling the function render() without sending a variable along with it. except in your class, render is defined with a variable being sent to it. So php is telling you, you are missing an argument.