Quote:
Originally Posted by cinq
There you go, the sql query returned 0 results in the first place, which is why echo $replies['replycount']; gives you nothing.
Are you sure there is a thread with threadid 715925 present ? Seems like an awefully large number, you must have a huge board
[edit] : ok checked your site ( assuming this is the site you are using the code for ).
Seems this thread id is not valid, could have been a deleted thread :
http://www.thefinalfantasy.com/forum...d.php?t=715925
|
For some reason if you change that .php?t to a .php?p, the URL will work... odd, but hey, the SQL query still wont work even if I try threadid that i KNOW exist. One interesting I just found was when I went to EXPLAIN query, I got this message:
Impossible WHERE noticed after reading const table...
Maybe we are declaring the const. table wrong, it makes no sense though... everything appears to be fine in the query. ugh
Thanks again for your ongoing help man, I feel like I"m getting real close to a solution