php - 别名内容的读取
習慣沉默
習慣沉默 2017-05-16 13:10:27
0
1
615

现在有这条sql语句,其中有一个别名为result
$sql = "select sum(num) as result from table";
问题是怎么把result的内容读出来??

習慣沉默
習慣沉默

reply all(1)
我想大声告诉你

After the sql execution is completed, print the return value to see what is returned

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!