Welcome Guest, Not a member yet? Register   Sign In
access direct to other method when used $this->input->method
#1

(This post was last modified: 06-05-2022, 02:22 PM by asenator.)

hi everyone
i have below code 

PHP Code:
public function resend_mobile_verify()
{
        if($this->input->method() == 'get')
        {
        }


    {
PHP Code:
public function change_mobile_info()
{
        if($this->input->method() == 'post')
        {
            $this->resend_mobile_verify();
        }


when i want to below code i cant direct access to resend_mobile_verify method because use post method


    {
PHP Code:
public function change_mobile_info()
{
        if($this->input->method() == 'post')
        {
            $this->resend_mobile_verify();
        }


how i can use resend_mobile_verify method directly?

best regard.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB