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='$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($result);

and not in the lines you've marked, because there is no result of the
UPDATE command.


Best regards, Ivan


- --
To mess up a Linux box, you need to work at it;
to mess up your Windows box, you just need to work on it.
- - Scott Granneman, Security Focus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAiXisTGB93IULb3YRAswrAKDdEicezEU0azJ/0jLQAp+nveMehACfV27e
9biw3qvLCcz4BS5nYAmPFE4=
=yuzU
-----END PGP SIGNATURE-----




-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to