Thanks;

i just figured that out over lunch.  I went back and sure enough in the
execution phase there is a statement of "Query was: $query -->\n");"

As soon as I changed the $query to $Query then I could use Query for the
rest of it.

It is amazing how syntax specific this programming is.

Shawn


----- Original Message -----
From: "Shannon -jj Behrens" <[EMAIL PROTECTED]>
To: "FreeTrade" <[EMAIL PROTECTED]>
Sent: Tuesday, September 12, 2000 1:09 PM
Subject: Re: [FreeTrade] Need help with query


> > Thanks Everyone;
> > I got it working, and yes it wae the caps issue.  But now I am really
> > confised as to the design of freetrade.
> >
> > My query will only work with "query" and not "Query",
> >  but in the "item_function" include unmodified and just downloaded today
in
> > the newest CVS the query is "Query"??????
> > Yet in the "ListInvoiceContents" include also brand new the query is
> > "query"?
> > Why does it work with caps sometimes and small other times?
> > What am I missing here?
>
> You can call the query anything you want, as long as your code is
> consistent (I have a very specific meaning of specific in this case).
> Hence, a query has the form:
>
> $myQueryVariable = "select * from foo ";
> $myQueryVariable .= "where foo='foo'"; file://must be same variable
> $myRecords = mysql_query($myQueryVariable, $myDatabaseLink); file://must
be
> same variable
> ...
>
> -jj
>
> --
> if (shannon - jj) * behrens == webEngineer["CLEAR INK�"]:
>     print "<i>imagination is the only real medium(sm)</i><br>"
>
>
> ------------------------------------------------------------
> To subscribe:    [EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Site:            http://www.working-dogs.com/freetrade/
> Problems?:       [EMAIL PROTECTED]



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to