PHP操作数据库详解
PHP操作数据库详解 2007年9月23日 13:47 1. 建立和关闭连接 1) mysql_connect() resource mysql_connect([string hostname [:port][:/path/to/socket][,string username] [,string password]]) 所有参数都是可选的 举例: @mysql_connect...string database [,resource link_id]) 获取database中的所有表名. 4) mysql_tablename() string mysql_tablename(resource result_set, interger index) 获取mysql_list_tables()返回的result_set中位置为index的表名
Tags:
php学习
Posts by cyq3721 tagged php
http://cyq3721.livejournal.com/913.html (Cached)
0 links
Published: 2 years, 4 months ago (Thu, 08 Oct 2009 19:51:16 PDT); 7622 bytes |