The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
No results showing
I want to select thread names but i do not get any results. I know my query isn't right.
But i would like to know what i am doing wrong. In PHPMYadmin: PHP Code:
PHP Code:
|
#2
|
||||
|
||||
Maybe:
PHP Code:
|
#3
|
||||
|
||||
Thanks for the fast reply.
I still don't see anything so my error must be somewhere else. I want to display all the threads and select them by letter doing: url/page.php?do=alphasearch<r=A I made a thread with the title aaaaaa for example Any suggestions? |
#4
|
||||
|
||||
Well, all that does is get a count ($itemcount[itemcount]). Are you saying you aren't getting a count? Perhaps post more of your code along with the template part that spits it out.
|
#5
|
||||
|
||||
Indeed true
This is my page called page.php along with the code: PHP Code:
PHP Code:
|
#6
|
||||
|
||||
You need to eval your template, alphamenu, *after* you define any variables you want to use in it. And, you can't eval it twice. Try removing this line (after the eval of the navbar):
PHP Code:
|
#7
|
||||
|
||||
Oke i removed it, but then i get a blank page, where do i need to eval the template alphamenu?
|
#8
|
||||
|
||||
Well, you've got some weird things going on. I assume that the template you posted is your alphamenu template, so the line I had you remove, should actually go right above the ?> . However, you also are evaling the template right above the line that starts with "$query_Searchltr". And then you are also evaling mysearchbits for some reason. And then nowhere in your template are you using any variable/information that you are defining in the php code. I really can't tell what you are doing in your code.
|
#9
|
||||
|
||||
true my template is called "alphamenu".
i placed the code PHP Code:
PHP Code:
is that all correct? |
#10
|
||||
|
||||
I doubt it. You can't define $alphamenu as being that evaled template and then place it in the same template. That doesn't make any sense.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|