Re: oblivious to the obvious

2004-04-23 Thread Arthur Pelkey
thanks for the input, i guess i should stop re-using code that does't apply in all situations, such as update not returning a result, etc, etc while im tired ;), thanks! Ivan Cukic (Foment) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 | $result = mysql_query("UPDATE sunday SET | a5_n_1=

Re: oblivious to the obvious

2004-04-23 Thread Ivan Cukic (Foment)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 | $result = mysql_query("UPDATE sunday SET | a5_n_1='$sun_5a_n1',a5_t_1='$sun_5a_t1'") What do you expect the UPDATE command to return? I think that you have the error here: | while($row = mysql_fetch_array($result)) { and here | mysql_free_result($

Re: oblivious to the obvious

2004-04-23 Thread Paul DuBois
At 15:58 -0400 4/23/04, Arthur Pelkey wrote: I keep getting Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in lines 17 and 21, they are marked below. I am drawing a blank, starting to doze off also :S, thunderbird has crappy default composition widths(anyone