在PHP中,通过mysql_field_name()函数可获取SQL查询结果集中指定字段的名称。接下来将通过实例进行详细说明。 1、 创建名为test.php的文件,通过实例演示PHP如何获取SQL查询结果中的字段名称。 2、 在test.php文件里,通过mysql_connect()函数,传入账号与密码来建立MySQL ...
I've got an app written in perl/tk that uses DB:ODBC (running on win2k) to talk to the mothership. The db used to be mssql7, but has been moved to mysql. Everything works fine since the move, except ...