Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286

2003-06-09 Thread Marcelo Luiz de Laia
Hi Philip and Thomas and All. Thanks very much for yours helps. I am Brazillian and I speak in portuguese, for this, I am sorry very much for my bad english. After a long time, my code works very good! But, I dont understand what was the problem! My code was: $result = sql_query("select catego

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286

2003-06-09 Thread Marcelo Luiz de Laia
Hi Janet, I dont have know how in php. I inserted the function mysql_error() in my code and it dont return any message! Thanks Marcelo > This means that when you did: > > $result = mysql_query($sql); > > $result did not end up with a valid resource in it. Then, when you do the fetch row comman

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286

2003-06-09 Thread Marcelo Luiz de Laia
Hi Thomas and All, > why are you using "sql_query" through your code? > its > mysql_query for mysql! I use phpnuke and it have a sql_layer.php. You are correct, for mysql is mysql_query. But this dont is the problem, I change it and the problem continue! Any tip?? Thanks Marcelo - Origin

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286

2003-06-08 Thread Marcelo Luiz de Laia
What this message means? What it is the error? Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.\none.php on line 42 This is the code. Thanks very much. Marcelo "; $content .=" Ăšltimos 10 Concursos"; $content .= ""; \\ line 42 while (list($catego

[PHP] Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286

2003-06-08 Thread Marcelo Luiz de Laia
What this message means? What it is the error? Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.\none.php on line 286 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.488 / Virus Datab

[PHP] Problems whit mysql_fetch_row

2003-06-07 Thread Marcelo Luiz de Laia
People, I have two blocks for phpnuke 6.5. These blocks show registers inside one marquee, of the left for the right. The first block is functioning normally. However, if I make some alterations in it, so that it pass to show registers of another table, it does not function and presents the err