← Desenvolvimento

mysql_fetch_array() < help

Lida 2442 vezes

Offline

tiovivi 
Membro
Mensagens 865 Gostos 0
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 500 Posts

aperece me isto...

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/my2media/public_html/pub/ads.php on line 34


linha 34 tem isto

while( $row = mysql_fetch_array( $result ) ) {


que sera? cumps
Offline

=IceBurn= 
Membro
Mensagens 897 Gostos 3
Feedback +3

Troféus totais: 32
Trófeus: (Ver todos)
Windows User Level 6 Linux User Mobile User Super Combination Combination Topic Starter Poll Voter Poll Starter Level 5

Se postares a query pelo menos (o que está associado à variável $result) dá para te ajudar, assim é impossivel.
Offline

MaisApostas 
Membro
Mensagens 36 Gostos 0
Troféus totais: 22
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Level 4 Level 3 Level 2 Level 1 10 Posts First Post Signature

tiovivi, podes me dizer se existe algum site para emular a voz, vomo tens no teu blog?
Offline

tiovivi 
Membro
Mensagens 865 Gostos 0
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 500 Posts

yah... googla pq eu tb nao sei qual usei  :(
Offline

=IceBurn= 
Membro
Mensagens 897 Gostos 3
Feedback +3

Troféus totais: 32
Trófeus: (Ver todos)
Windows User Level 6 Linux User Mobile User Super Combination Combination Topic Starter Poll Voter Poll Starter Level 5

Agora fiquei na dúvida....
Não sei se não viste o meu post ou se o que está nas linhas acima da 34 é top-secret... :D
Offline

tiovivi 
Membro
Mensagens 865 Gostos 0
Troféus totais: 27
Trófeus: (Ver todos)
Super Combination Combination Topic Starter Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1 500 Posts

nao nao... é o script TXT ADS... conheces? tenho.o n escritorio... e nao csg entrar remotamente na empresa.. a ptprime é tao boa q a net deve ter berrado  =D&gt;  =D&gt;   :evil:  :evil:
Offline

=IceBurn= 
Membro
Mensagens 897 Gostos 3
Feedback +3

Troféus totais: 32
Trófeus: (Ver todos)
Windows User Level 6 Linux User Mobile User Super Combination Combination Topic Starter Poll Voter Poll Starter Level 5

Não, não conheço.
Offline

Spread 
Membro
Mensagens 1433 Gostos 2
Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Poll Starter Level 5 Level 4 Level 3 Level 2

A base de dados tem efectivamente dados? Se por exemplo fazes uma query à procura do conteudo X na tabela Y e a tabela está vazia pode devolver esse erro.

Cumps 8)