עשית בלאגן אחד גדול..
PHP קוד:
$b->check();->send
משהו שהמצאת עכשיו?
PHP קוד:
class b
{
var $send;
function check()
{
if ( isset($_POST['send']) )
{
$this->send = $_POST['send'];
return true;
}
}
}
}
}
$b = new b;
if ( $b->check() )
{
//...
}
תנסה את זה