CartMetrix - Do you know yours?

« Open Relay Test | Home | Terminal server has exceeded maximum number of allowed connection »

1/30/2007

Use PHP Substr() and Strpos() to Split a String

To split a variable $act like:

$act = 'coupon:edit';
$act = 'coupon:delete';
$method = substr($act, strpos($act, ':')+1);

Popularity: 19%

Trackback:

Related Posts

3 Responses to “Use PHP Substr() and Strpos() to Split a String”

  1. How does viagra work. said:

    Viagra.

    Viagra. Viagra sales uk. Re viagra cello.

  2. Xanax side effects. said:

    Buy cheap xanax.

    Buy xanax online. Xanax. Xanax class action. Generic xanax.

  3. Kids bedroom furniture. said:

    North carolina bedroom furniture.

    Youth bedroom furniture. Tropical bedroom furniture.

Post your opinion

Verification Image

Please type the letters you see in the picture.

Subscribe without commenting


damonparker.org is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

copyright © 2002-2008 damonparker.org. all rights reserved.

Close
E-mail It