![]() | |
#11
| |||
| |||
|
|
Okay, I think I have the issue pinpointed. I don't understand the nrows function entirely which is part of it . |
#12
| |||
| |||
|
|
In article <8363f72b-586c-47f7-9164-6a90f1aac... (AT) y21g2000pro (DOT) googlegroups..com>, JRough <jlro... (AT) yahoo (DOT) com> wrote: Okay, I think I have the issue pinpointed. *I don't understand the nrows function entirely which is part of it . That's the issue entirely: you don't understand the nrows function. |
#13
| |||
| |||
|
|
Okay, I think I have the issue pinpointed. |
|
----nrows function----- function nrows($sql) { $sql="SELECT COUNT(*) AS cnt " . substr($sql, strpos($sql,"FROM ")); $result=mysql_query($sql); if ( !$result ) {die("<font color='red'>Invalid query:</font>" . mysql_error() . "<br>$sql");} $dbarray = mysql_fetch_array($result); $nCnt=$dbarray['cnt']; $cnt=($nCnt==1) ? "1 Record" : "$nCnt"; return $cnt; }//end nrows |
#14
| |||
| |||
|
|
JRough: Okay, I think I have the issue pinpointed. Oh dear. I doubt it. It's not easy to find a starting point on this, because there are so many issues in your code. |
#15
| |||
| |||
|
|
On 30 June, 12:31, "Erick T. Barkhuis" <erick.use-... (AT) ardane (DOT) c.o.m wrote: JRough: Okay, I think I have the issue pinpointed. Oh dear. I doubt it. It's not easy to find a starting point on this, because there are so many issues in your code. Erick, Janis has been posting to programming groups here since 2000 and still does not have a clue about how to write code. I suggest you give up now. |
#16
| |||
| |||
|
|
Captain Paralytic: On 30 June, 12:31, "Erick T. Barkhuis" <erick.use-... (AT) ardane (DOT) c.o.m wrote: JRough: Okay, I think I have the issue pinpointed. Oh dear. I doubt it. It's not easy to find a starting point on this, because there are so *many issues in your code. Erick, Janis has been posting to programming groups here since 2000 and still does not have a clue about how to write code. I suggest you give up now. Thanks for the information, CP. But if you don't mind, I would like to offer her a chance to get things going, anyway. After all, she went through the trouble to describe a problem to the best of her capabilities in this newsgroup. And here you have got to the crux of the problem. The best of her |
|
As soon as I feel that she doesn't give it a try hard enough, I will give up. I'm not saying that she doesn't try. Just that her attempts at trying |
|
But has that point been reached in this thread, yet? Ahh you think that magically, after 10 years, in this thread she'll |
#17
| |||
| |||
|
|
On 30 June, 14:18, "Erick T. Barkhuis" <erick.use-... (AT) ardane (DOT) c.o.m wrote: |
|
Another point you might notice is that her question is absolutely blatantly obviously a php question, but her understanding is so low that she asks it in a MySQL newsgroup. |
|
But has that point been reached in this thread, yet? Ahh you think that magically, after 10 years, in this thread she'll suddenly grasp what it is all about! I admire your optimism, but I can't see it happening. |
#18
| |||
| |||
|
|
Captain Paralytic: On 30 June, 12:31, "Erick T. Barkhuis" <erick.use-... (AT) ardane (DOT) c.o.m wrote: JRough: Okay, I think I have the issue pinpointed. Oh dear. I doubt it. It's not easy to find a starting point on this, because there are so many issues in your code. Erick, Janis has been posting to programming groups here since 2000 and still does not have a clue about how to write code. I suggest you give up now. Thanks for the information, CP. But if you don't mind, I would like to offer her a chance to get things going, anyway. After all, she went through the trouble to describe a problem to the best of her capabilities in this newsgroup. As soon as I feel that she doesn't give it a try hard enough, I will give up. But has that point been reached in this thread, yet? |
#19
| |||
| |||
|
|
Like most things, programming requires a certain amount of talent. Some people have it, and some don't. For those who don't, you can try as hard as you can to help them. And they can do their best to get it. But it just doesn't sink in. |
#20
| |||
| |||
|
|
Jerry Stuckle: Like most things, programming requires a certain amount of talent. Some people have it, and some don't. For those who don't, you can try as hard as you can to help them. And they can do their best to get it. But it just doesn't sink in. You probably know those soccer-, football or basketball teams of kids at age 13, that consist of boys who were sent by their parents. They are supposed to "do something for their health", so they play in the lowest level recreational team that is available in the region. They practice, they work out, they can still hardly kick or throw a ball and they are happy at halftime, when they can sit down and look back at their accomplishments (down 14-0, but what the heck). Wouldn't you, as a parent, be glad that there are always one or two coaches who are willing to help the untalented at what they are trying to do? As long as untalented kids are serious and try hard, I'll be happy to be the coach. As soon as such kid doesn't show interest, I'll suggest he'd better pick up another craft. |
![]() |
| Thread Tools | |
| Display Modes | |
| |