Re: Help with understanding an error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I added an echo and got this:
Query failed: Unknown column 'WorkOrderNumber' in 'field list' Actual
query:  but the actual query is blank

and as I have stated before when I have had questions on this list, I am NOT
a php programmer, just learning and inherited a job with tons of php already
in place, so please save all the snarky comments about how stupid I am, I
don't need them, lists are supposed to be helpful not hurtful.


On Mon, Nov 24, 2008 at 11:32 AM, Wolf <lonewolf@xxxxxxxxx> wrote:

>
> ---- Terion Miller <webdev.terion@xxxxxxxxx> wrote:
> > Can anyone help explain what I need to do to fix this:
> >
> > Error: *Warning*: mysql_fetch_object(): supplied argument is not a valid
> > MySQL result resource in *
> > C:\Inetpub\wwwroot\WorkOrderSystem\ViewWorkOrder.php* on line *57*
> >
> > *Warning*: mysql_num_rows(): supplied argument is not a valid MySQL
> result
> > resource in *C:\Inetpub\wwwroot\WorkOrderSystem\ViewWorkOrder.php* on
> line *
> > 65
> >
> >
> > Code:
> > line 57: $row = mysql_fetch_object ($result);
> > line 65: if (mysql_num_rows($result) == 0) {
> > ?>
> > *
>
> STFW as Google has the answer..
>
> But... you need to actually provide MORE of the code, since the error
> pretty much tells you that you don't have a connection to your database.
>  Not a PHP issue really.
>
> Wolf
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux