![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a question on this sql. It looks like it is right with the filters but when I run the page I get the WHERE clause twice. I don't understand why. |
|
I know it is somthing simple with the concatenation.. |
|
$nRecs=nrows($sql.=$sqlWhere); ... $sql.= $sqlWhere ." " . $sqlLimit ; |
#3
| |||
| |||
|
|
In article <a4d3c5de-118a-43f7-b621-d14bb0403... (AT) u36g2000prg (DOT) googlegroups..com>, JRough <jlro... (AT) yahoo (DOT) com> wrote: I have a question on this sql. *It looks like it is right with the filters but when I run the page I get the WHERE clause twice. *I don't understand why. Because you concatenated the WHERE clause onto the query twice, of course.. I know it is somthing simple with the concatenation.. Yes, it is. .. * * * *$nRecs=nrows($sql.=$sqlWhere); .. * *$sql.= *$sqlWhere ." " . *$sqlLimit ; |
#4
| |||
| |||
|
|
In article <a4d3c5de-118a-43f7-b621-d14bb0403... (AT) u36g2000prg (DOT) googlegroups..com>, JRough <jlro... (AT) yahoo (DOT) com> wrote: I have a question on this sql. *It looks like it is right with the filters but when I run the page I get the WHERE clause twice. *I don't understand why. Because you concatenated the WHERE clause onto the query twice, of course.. I know it is somthing simple with the concatenation.. Yes, it is. .. * * * *$nRecs=nrows($sql.=$sqlWhere); .. * *$sql.= *$sqlWhere ." " . *$sqlLimit ; |
#5
| |||
| |||
|
|
In article <a4d3c5de-118a-43f7-b621-d14bb0403dfa (AT) u36g2000prg (DOT) googlegroups.com>, JRough <jlrough (AT) yahoo (DOT) com> wrote: I have a question on this sql. It looks like it is right with the filters but when I run the page I get the WHERE clause twice. I don't understand why. Because you concatenated the WHERE clause onto the query twice, of course. I know it is somthing simple with the concatenation.. Yes, it is. .. $nRecs=nrows($sql.=$sqlWhere); .. $sql.= $sqlWhere ." " . $sqlLimit ; |
#6
| |||
| |||
|
|
Doug Miller wrote: In article a4d3c5de-118a-43f7-b621-d14bb0403dfa...oglegroups.com>, JRough jlrough (AT) yahoo (DOT) com> wrote: I have a question on this sql. It looks like it is right with the filters but when I run the page I get the WHERE clause twice. I don't understand why. Because you concatenated the WHERE clause onto the query twice, of course. I know it is somthing simple with the concatenation.. Yes, it is. .. $nRecs=nrows($sql.=$sqlWhere); .. $sql.= $sqlWhere ." " . $sqlLimit ; Doug, google this newsgroup on who you're talking to. He has repeatedly shown he has no understanding of even the simplest programming concepts. |
|
You're wasting your time. |
#7
| |||
| |||
|
|
In article <i0e5q3$n8... (AT) news (DOT) eternal-september.org>, Jerry Stuckle <jstuck... (AT) attglobal (DOT) net> wrote: Doug Miller wrote: In article a4d3c5de-118a-43f7-b621-d14bb0403... (AT) u36g2000prg (DOT) googlegroups.com>, JRough jlro... (AT) yahoo (DOT) com> wrote: I have a question on this sql. *It looks like it is right with the filters but when I run the page I get the WHERE clause twice. *I don't understand why. Because you concatenated the WHERE clause onto the query twice, of course. I know it is somthing simple with the concatenation.. Yes, it is. .. * * * *$nRecs=nrows($sql.=$sqlWhere); .. * *$sql.= *$sqlWhere ." " . *$sqlLimit ; Doug, google this newsgroup on who you're talking to. *He has repeatedly shown he has no understanding of even the simplest programming concepts. She, not he. J is for Janis, IIRC. You're wasting your time. Possibly.'Thank you . Okay, I think I have the issue pinpointed. I don't understand the |
#8
| |||
| |||
|
|
In article <i0e5q3$n8... (AT) news (DOT) eternal-september.org>, Jerry Stuckle <jstuck... (AT) attglobal (DOT) net> wrote: Doug Miller wrote: In article a4d3c5de-118a-43f7-b621-d14bb0403... (AT) u36g2000prg (DOT) googlegroups.com>, JRough jlro... (AT) yahoo (DOT) com> wrote: I have a question on this sql. *It looks like it is right with the filters but when I run the page I get the WHERE clause twice. *I don't understand why. Because you concatenated the WHERE clause onto the query twice, of course. I know it is somthing simple with the concatenation.. Yes, it is. .. * * * *$nRecs=nrows($sql.=$sqlWhere); .. * *$sql.= *$sqlWhere ." " . *$sqlLimit ; Doug, google this newsgroup on who you're talking to. *He has repeatedly shown he has no understanding of even the simplest programming concepts. She, not he. J is for Janis, IIRC. You're wasting your time. Possibly. |
#9
| |||
| |||
|
|
In article <i0e5q3$n8... (AT) news (DOT) eternal-september.org>, Jerry Stuckle <jstuck... (AT) attglobal (DOT) net> wrote: Doug Miller wrote: In article a4d3c5de-118a-43f7-b621-d14bb0403... (AT) u36g2000prg (DOT) googlegroups.com>, JRough jlro... (AT) yahoo (DOT) com> wrote: I have a question on this sql. *It looks like it is right with the filters but when I run the page I get the WHERE clause twice. *I don't understand why. Because you concatenated the WHERE clause onto the query twice, of course. I know it is somthing simple with the concatenation.. Yes, it is. .. * * * *$nRecs=nrows($sql.=$sqlWhere); .. * *$sql.= *$sqlWhere ." " . *$sqlLimit ; Doug, google this newsgroup on who you're talking to. *He has repeatedly shown he has no understanding of even the simplest programming concepts. She, not he. J is for Janis, IIRC. You're wasting your time. Possibly. |
#10
| |||
| |||
|
|
In article <i0e5q3$n8m$1 (AT) news (DOT) eternal-september.org>, Jerry Stuckle <jstucklex (AT) attglobal (DOT) net> wrote: Doug Miller wrote: In article a4d3c5de-118a-43f7-b621-d14bb0403dfa...oglegroups.com>, JRough jlrough (AT) yahoo (DOT) com> wrote: I have a question on this sql. It looks like it is right with the filters but when I run the page I get the WHERE clause twice. I don't understand why. Because you concatenated the WHERE clause onto the query twice, of course. I know it is somthing simple with the concatenation.. Yes, it is. .. $nRecs=nrows($sql.=$sqlWhere); .. $sql.= $sqlWhere ." " . $sqlLimit ; Doug, google this newsgroup on who you're talking to. He has repeatedly shown he has no understanding of even the simplest programming concepts. She, not he. J is for Janis, IIRC. You're wasting your time. Possibly. |

![]() |
| Thread Tools | |
| Display Modes | |
| |