Need Some Simple PHP Help Please
What I want to do is change the following code:
function syn_syndicate_box() {
global $syn_multi_curl;
$syn_multi_curl = new MultiCurl();
$options = syn_get_admin_options();
$post = wp_get_single_post( $_GET[ 'post_id' ] );
$title = $post->post_title; I want it to be able to post titles from a list of titles either sequentially or randomly.
I was going to use something like this:
$title[0] = "beginners php"; $title[1] = "random title example"; $title[2] = "quite neat i suppose"; $title[3] = "useful , probably not"; $title[4] = "oh well"; // get a random number $randomize = rand(0, 4); echo ($title[$randomize]);
Martin Keens Internet Marketing
Membership Guru Free Report
Instant List Building Kits
Martin Keens Internet Marketing
Membership Guru Free Report
Instant List Building Kits