What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Wordpress help

Wordpress help
Author: Message:
Thor
Veteran Member
*****

Avatar
Awwwwwwww.

Posts: 1118
Reputation: 42
32 / – / Flag
Joined: May 2006
RE: Wordpress help
If u can add PhP code into that window, then here's some code:
code:
<?php

$textArray[0] = "The first line of text!";

$textArray[1] = "Much text!";

$textArray[2] = "Some text...";



$count = count($textArray);
$count = $count - 1;
$random = rand(0, $count);
echo("<p>" . $textArray[$random] . "</p>");

?>


EDIT: Had done something wrong, fixed now...
I haven't tested it, but it should do the trick. :)

This post was edited on 07-08-2006 at 01:03 PM by Thor.
:plus4: Translation guidelines for Messenger Plus! Live
I'm no longer around this town, but I miss the community dearly. You can always find me lurking in #banana, or at
nitrolinken.net.
07-07-2006 09:31 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Wordpress help - by Tasha on 07-07-2006 at 09:14 PM
RE: Wordpress help - by Thor on 07-07-2006 at 09:31 PM
RE: Wordpress help - by Nathan on 07-07-2006 at 09:58 PM
RE: Wordpress help - by Nathan on 07-07-2006 at 10:26 PM
RE: Wordpress help - by RaceProUK on 07-07-2006 at 10:34 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On