![]() |
$randombanner - only showing random numbers instead of images
I used this code on a vb3 forum before but for some reason can't seem to get it to work now. Instead of displaying a random image, it is displaying a random number between 1 and 6. This is the code that I'm placing within the plugin area...hook location is parse_templates
Code:
$cud = rand(1, 6); Then I'm calling it on the page using $cud Anyone have any idea what I'm doing wrong? Thanks, J |
Quote:
PHP Code:
|
Great, working now, thank you!
|
All times are GMT. The time now is 07:10 PM. |
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:
|