Now there is this sql statement, one of which is aliased as result $sql = "select sum(num) as result from table"; The question is how to read the content of result? ?
After the sql execution is completed, print the return value to see what is returned
After the sql execution is completed, print the return value to see what is returned