Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php

 public function update_code($email, $code)
    {
        $sql = "Update Users set code = $code where email_u = '$email'";
        $query = $this->query($sql);
        if ($query) {
            echo '1';
        } else {
            echo '0';
        }
    }
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #php
ADD COMMENT
Topic
Name
1+2 =