Hi,
I can store <!--SEARCH_QUERY--> in $somearray[] but how do I output random number to display between 25-50 queries on the page?
Search question
Re: Search question
google: "php how to output random number of elemenmts from an array"
I'm 100% sure there gonna be a lot of examples
I'm 100% sure there gonna be a lot of examples
Don't forget to run script update
Re: Search question
Hi,
I tried this but it didn't work:
<thumb search_log=all num=1-<?php int $numb = mt_rand(15, 50); echo $numb;?>>
Any idea how to make it work?
I tried this but it didn't work:
<thumb search_log=all num=1-<?php int $numb = mt_rand(15, 50); echo $numb;?>>
Any idea how to make it work?
Re: Search question
no
you need to take a look art my example like
<thumb num=1-50>
<?php
$somearray[] = 'gallery data';
?>
</thumb>
and then outpur random number of elements from $somearray
you need to take a look art my example like
<thumb num=1-50>
<?php
$somearray[] = 'gallery data';
?>
</thumb>
and then outpur random number of elements from $somearray
Don't forget to run script update
Re: Search question
I have been trying but its complicated as I have <!--SEARCH_QUERY--> and <!--ESCAPED_SEARCH_QUERY--> to output as well. I'm not very good at php coding.
Re: Search question
i don't have a ready made coed for your situation
As usual there are 2 options:
1. free - read about php and code it
2. pay for the work and somebody will do it for you
As usual there are 2 options:
1. free - read about php and code it
2. pay for the work and somebody will do it for you
Don't forget to run script update