![]() |
random profiles on non-vb page
can you help me with this snippet of code please
PHP Code:
when you click the image that that produces it's meant to send you to a random profile but instead of making the userid it gives me the query as the link e.g. http://www.ebslive.com/forums/member...&userid=SELECT username, userid FROM user ORDER BY rand() LIMIT 1 |
ok figured it out kinda
PHP Code:
|
PHP Code:
|
thanks mist, it's greatly appreciated :)
|
Your welcome :) It's always nice answering such simple questions from a place in learning where I was only 6months ago :)
|
i have an additional query mist, how would i edit the code so it only shows members with more > 0 posts?
|
PHP Code:
|
i get this error
Quote:
|
And what is on that line?
|
Quote:
|
ok i fixed this thanks to the wonders of phpmyadmin
but PHP Code:
|
All times are GMT. The time now is 09:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|