• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Code php random quảng cáo

Admin

Well-Known Member
Staff member
Administrator
PHP:
<?php
$random_text = array('<a href="url số 1">Nội dung quảng cáo số 1</a>',
'<a href="url số 2">Nội dung quảng cáo số 2</a>',
'<a href="url số 3">Nội dung quảng cáo số 3</a>');
srand(time(1)); $sizeof = count($random_text);
$random = (rand()%$sizeof); print("$random_text[$random]");
?>
 

Facebook Comments

New posts New threads New resources

Back
Top