[Tool/Web/Other] Online missing brackets finder
#9

RedJohn, you're most likely just counting the "{" and "}" with the explodes.

example:
PHP Code:
$open count(explode("{"$_POST['code']));
$close count(exokide("}"$_POST['code']));
echo 
'<script type="text/javascript">alert("you have '.$open.' open brackets\nAnd '.$close.' closed brackets");</script>'
ps: scripted on the quick reply box e.e
Reply


Messages In This Thread
Online missing brackets counter - by RedJohn - 11.07.2012, 21:00
Re: Online missing brackets finder - by FireCat - 11.07.2012, 21:01
Re: Online missing brackets finder - by RedJohn - 11.07.2012, 21:02
Re: Online missing brackets finder - by Kirollos - 11.07.2012, 21:51
Re: Online missing brackets finder - by JoBullet - 12.07.2012, 01:23
Re: Online missing brackets finder - by RedJohn - 12.07.2012, 07:34
Re: Online missing brackets finder - by RedJohn - 12.07.2012, 07:45
Re: Online missing brackets finder - by FireCat - 12.07.2012, 11:35
Re: Online missing brackets finder - by next-studio|TheKiller - 12.07.2012, 11:41
Re: Online missing brackets finder - by Lorenzo* - 12.07.2012, 11:43

Forum Jump:


Users browsing this thread: 1 Guest(s)