Currently I have a code that looks like:
for ($i=0; $i<=($num_newlines - 1); $i++)
{
$tweetcpitems->post('statuses/update',
array('status' => wordFilter("The item $parts[$i] has been released on Club Penguin. View it here: http://clubpenguincheatsnow.com/tools/swfviewer/items.swf?id=$parts[$id]")));
sleep(90);
}
What I want to do make the "i++" part add by two and not one, but how do I do this? Please help!
for ($i=0; $i<=($num_newlines - 1); $i+=2) {
$i++ : increment by one
$i+=2 : increment by two
$i+=3 : increment by three
etc..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With