MySQL 5.5 Community Server
MySQL 5.6 Community Server
Percona Configuration Wizard
XtraBackup 搭建主从复制
Great Sites on MySQL
Percona
MySQL Performance Blog
Severalnines
推荐管理工具
Sequel Pro
phpMyAdmin
推荐书目
MySQL Cookbook
MySQL 相关项目
MariaDB
Drizzle
参考文档
http://mysql-python.sourceforge.net/MySQLdb.html
opiviqo
V2EX  ›  MySQL

mysqli::query()的返回值 传递问题

  •  
  •   opiviqo · Jun 10, 2019 · 4054 views
    This topic created in 2547 days ago, the information mentioned may be changed or developed.

    请教大家一个 mysql 的问题: mysqli::query ()的返回值 传递问题 eg:
    $result = $mysqli_query(...);//返回一个查询结果; 这个结果需要怎么传递出去呢? 我是直接传递的好像不行? $REST = $result; //这样好像不行

    2 replies    2019-06-10 13:45:31 +08:00
    w516322644
        1
    w516322644  
       Jun 10, 2019
    Hi。哥们,这是 php 的问题,别放到 mysql 啊。
    http://www.w3school.com.cn/php/func_mysql_result.asp
    opiviqo
        2
    opiviqo  
    OP
       Jun 10, 2019
    @w516322644 不好意思 好像没办法修改
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2677 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 11:31 · PVG 19:31 · LAX 04:31 · JFK 07:31
    ♥ Do have faith in what you're doing.