Changeset 3918 for trunk/tools/database
- Timestamp:
- Aug 2, 2000, 4:19:10 AM (25 years ago)
- Location:
- trunk/tools/database/www
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/database/www/Odin32DBConnect.php3
r3904 r3918 5 5 */ 6 6 $db = mysql_connect("127.0.0.1", "root", ""); 7 $rc = mysql_select_db("odin32 test", $db);7 $rc = mysql_select_db("odin32", $db); 8 8 9 9 ?> -
trunk/tools/database/www/Odin32DBHelpers.php3
r3914 r3918 1024 1024 " f.equiv AS equiv,\n". 1025 1025 " f.time AS time,\n". 1026 " f.line AS line,\n". 1026 1027 " g.name AS apigroupname,\n". 1027 1028 " g.refcode AS apigrouprefcode,\n". … … 1068 1069 Odin32DBInfoRow1("API Group", $array, "apigroupname", "apigrouprefcode", "apigrouprefcode","",""); 1069 1070 Odin32DBInfoRow1("File", $array, "filename", "filerefcode", "filerefcode","not available",""); 1071 if ($array["line"] > 0) 1072 Odin32DBInfoRow1("Line", $array, "line", "", "","",""); 1073 else 1074 Odin32DBInfoRow1("Line", $array, "unavailable", "", "","not available",""); 1070 1075 if (isset($array["aliasrefcode"])) 1071 1076 Odin32DBInfoRow2("Forwards", $array, "aliasdllname", "aliasdllrefcode", "dllrefcode","",".", … … 2103 2108 */ 2104 2109 $sql = sprintf("SELECT\n". 2105 " f.state,\n".2106 " COUNT( f.state)\n".2110 " state,\n". 2111 " COUNT(state)\n". 2107 2112 "FROM\n". 2108 2113 " function\n". 2109 2114 "WHERE\n". 2110 " f.apigroup = %d\n".2111 "GROUP BY f.state\n".2112 "ORDER BY f.state",2115 " apigroup = %d\n". 2116 "GROUP BY state\n". 2117 "ORDER BY state", 2113 2118 $iRefcode); 2114 2119 Odin32DBWriteStates($cFunctions, $sql, $db); -
trunk/tools/database/www/Odin32GuidelineDocumentation.phtml
r3914 r3918 66 66 CodeBeg(); 67 67 echo " 68 /* \$Id: Odin32GuidelineDocumentation.phtml,v 1. 2 2000-08-02 01:00:45bird Exp $68 /* \$Id: Odin32GuidelineDocumentation.phtml,v 1.3 2000-08-02 02:19:10 bird Exp $ 69 69 * 70 70 * <i><insert file description here></i>
Note:
See TracChangeset
for help on using the changeset viewer.