![]() |
|
Thread Tools |
#1
|
||||||||
|
||||||||
Word Count Query
Hey everyone, I run a creative writing website that rewards people by number of words written rather than posts. I'm trying to come up with a rudimentary webpage that searches word count in a thread with a mySQL query. By searching online, my coder and I have hacked together what appears on paper to be a workable code, but it still produces a database error when the query is made. I was hoping someone here could help me out.
Here's the code:
Here's the error I'm getting:
Any help you can provide would be great. Here's the sample: www.althanas.com/world/postcount.php No members have liked this post.
|
#2
|
|||
|
|||
Variables are case sensitive.
You define it as $threadID but use it as $threadid in the query. |
#3
|
|||
|
|||
You're my hero, Dave, that did the trick!
The following members like this post: MarkFL
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 07:40.