Recommended: Make an ASP SCRIPT counter using GrapShot component This program places the number of the counter in the ACCESS database, and of course you can also use other ODBC data sources you want. This program reads the count information from the URL. As follows: IMG src=id=MYTEST&seq=default&cells=7
Looking for a large amount of information online, after my unremitting efforts, the test was finally successful. It turns out that I want to install mysql odbc 3.51 on the server, as well as the database username and password, just use the following password.
| The following is the quoted content: <% strconnection=driver={mysql odbc 3.51 driver};database=weste_net;server=localhost;uid=root;password= set conn = server.createobject(adodb.connection) conn.open strconnection strquery = select * from News set rs = conn.execute(strquery) if not rs.bof then %> <table> <tr> <td<b>Serial number</b></td> <td><b>Title</b></td> </tr> <% do while not rs.eof %> <tr> <td><%=rs(id)%></td> <td><%=rs(NTitle)%></td> </tr> <% rs.movenext loop %> </table> <% else response.write(no no.) end if rs.close conn.close set conn = nothing set rsdata = nothing %> |
Share: Design the login module for ASP users User login verification script, Chkpwd.asp The following is the referenced content: % '========= User login verification script====== 'If the Passed object is not defined yet, it is defined as false, indicating that there is no