Posted by Rik on 03/13/07 22:18
G-Rod <futbolguy@gmail.com> wrote:
> Thanks for your reply to help me with this. Sorry for the incomplete
> info before, but hopefully this will fill some gaps:
>
> I have uploaded a text file with financial information. We receive it
> this way, so I upload it this way. It uploads successfully. $budget
> is an array with the latest transactions since the last time the
> database was updated. Each transaction has 23 values. These items are
> all correct. I used the error codes that you mentioned and I received
> no errors.
>
> $this->query has the following function code.
>
> function query($query){
> $result =3D mysql_query($query, 0)
> or die ("Couldn't execute query");
> return $result;
> }
>
> The only error message I'm receiving is "Couldn't execute query"....
> working to get something similar to $this->error() working.
That would indeed tell you nothing.
mysql_query(...) or die (mysql_error()) would have told a lot more...
-- =
Rik Wasmus
Posted on Usenet, not any forum you might see this in.
Ask Smart Questions: http://tinyurl.com/anel
[Back to original message]
|