Jump to content
Fórum Script Brasil
  • 0

Funções Do Mysql Não Fungam No Mi@


Pilantra

Question

Ola'gente

Aff to de cara!!! Aqui no meu pc o site fungo certinho, dae quando eu subi as paginas as funções do Mysql não funcionaram, mysql_num_rows() mysql_fetch_arrays(), que eu vi foram essas duas!!!

O que eu faço!?!?

Brigado!!

T+

Pilantra

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

Aconteceu uma coisa parecida comigo também, estou usando:

mysql_fetch_array, mysql_fetch_object, mysql_num_rows.

Todos eles funcionam corretamente separados(já testei), mas quando junto eles em um mesmo select, dai não funciona direito, parece que um atrapalha o outro sei lá...

Será que eles não podem ser usados juntos?

Obs: desculpa ai por aproveitar seu post Pilantra, mas é que eu acho que nossas dúvidas são identicas, dai eu postei aqui também pra subir o post.

Link to comment
Share on other sites

  • 0

Warning: mysql_connect(): Too many connections in /home/webcindario/portalolho/index.php on line 201

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/webcindario/portalolho/index.php on line 202

Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/webcindario/portalolho/index.php on line 206

Warning: mysql_query(): A link to the server could not be established in /home/webcindario/portalolho/index.php on line 206

Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/webcindario/portalolho/index.php on line 207

Warning: mysql_query(): A link to the server could not be established in /home/webcindario/portalolho/index.php on line 207

Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/webcindario/portalolho/index.php on line 208

Warning: mysql_query(): A link to the server could not be established in /home/webcindario/portalolho/index.php on line 208

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/webcindario/portalolho/index.php on line 209

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/webcindario/portalolho/index.php on line 210

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/webcindario/portalolho/index.php on line 211

Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /home/webcindario/portalolho/index.php on line 212

Dae na outra parte de SQL:

Warning: mysql_connect(): Too many connections in /home/webcindario/portalolho/index.php on line 262

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/webcindario/portalolho/index.php on line 263

Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/webcindario/portalolho/index.php on line 265

Warning: mysql_query(): A link to the server could not be established in /home/webcindario/portalolho/index.php on line 265

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/webcindario/portalolho/index.php on line 266

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.

Guest
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
      152.2k
    • Total Posts
      652k
×
×
  • Create New...