Re: [PHP] SQL Query Not Kosher?

2004-02-02 Thread Mr. Austin
That would explain why it displays the second message saying it was not successful. But why then does it still display this warning? Warning: mysql_affected_rows(): supplied argument is not a valid MySQL-Link resource in c:\apache\htdocs\admin\stories.php on line 112 Mr. Austin - Original

[PHP] SQL Query Not Kosher?

2004-02-02 Thread Mr. Austin
title\" was not successful. Please check with the site administrator for assistance."); } The above SQL statement works perfectly with phpMyAdmin (and, oddly enough, works with the above script, yet the Warning is produced and the 'not successful' message is displayed) Any thoughts are appreciated! Mr. Austin

Re: [PHP] Help with files

2004-02-01 Thread Mr. Austin
I'm not entirely sure why it is that you assume I did not read the manual or the online documentation (which is very thorough). I'll find my answers elsewhere. Thank you, Mr. Austin - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[E

[PHP] Help with files

2004-02-01 Thread Mr. Austin
Hello all, I am trying to open a file (successful), then rewrite over the file when it is saved via a form on a website. I have used the following code, yet it simple rewrites from the file pointer, but does not clear the file before writing. Thanks for any help.