Jump to content
Fórum Script Brasil
  • 0

Contar Registros

Leandro Rocha


3 answers to this question

Recommended Posts

  • 0
I Must be crazy

Set rstCP = conn.execute("Select count *  from tbl_Posts WHERE codusuario="&session("id")&" and bloqueio=0")
response.write [color="#FF0000"][b]rstCP.RecordCount[/b][/color] %>
tentei dessa forma q você me passo e também deu erro.. esse é o erro:
Tipo de erro:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[MySQL][ODBC 3.51 Driver][mysqld-5.0.41-community-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from tbl_Posts WHERE codusuario=19 and bloqueio=0' at line 1
/testes/fotolog/miolo.asp, line 80

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...