<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_44592"> <div class="blockcode"> <div id="code_rUn"><ol> <li> <li> <?php <li>/**</li> <li>* sqlite_num_fields函数举例</li> <li>* edit: bbs.it-home.org</li> <li>*</li> <li>*/</li> <li> $sqldb = sqlite_open("mydatabase.db");</li> <li> $results = sqlite_query($sqldb, "SELECT * FROM employee");</li> <li> echo "Total fields returned: ".sqlite_num_fields($results)."<br>";</li> <li> sqlite_close($sqldb);</li> <li>?></li> </ol></div> <em onclick="copycode($('code_rUn'));">复制代码</em> </div> </td></tr></table> <div id="comment_44592" class="cm"> </div> <div id="post_rate_div_44592"></div> <br><br>