note 75016 added to function.explode

From: Date: Tue, 08 May 2007 19:48:02 +0000
Subject: note 75016 added to function.explode
Groups: php.notes 
Request: Send a blank email to php-notes+get-126337@lists.php.net to get a copy of this message
Here is an example function for splitting data without using regular expression Example Using: <?php function arasi($tontonq,$a,$b) { $x = explode($a,$tontonq); $z = explode($b,$x[1]); $oh = $z[0]; if($x && $z) { return $oh; } else { return false; } } $alexa = file_get_contents("http://www.alexa.com"); $hotsearch = arasi($alexa,'<div class="hot">','</div>'); echo $hotsearch; ?> We love php for there are a lot function to be used as easily and writing faster than other langs ---- Server IP: 85.111.6.23 Probable Submitter: 85.111.6.6 (proxied: 88.229.48.241) ---- Manual Page -- http://www.php.net/manual/en/function.explode.php Edit -- https://master.php.net/note/edit/75016 Del: integrated -- https://master.php.net/note/delete/75016/integrated Del: useless -- https://master.php.net/note/delete/75016/useless Del: bad code -- https://master.php.net/note/delete/75016/bad+code Del: spam -- https://master.php.net/note/delete/75016/spam Del: non-english -- https://master.php.net/note/delete/75016/non-english Del: in docs -- https://master.php.net/note/delete/75016/in+docs Del: other reasons-- https://master.php.net/note/delete/75016 Reject -- https://master.php.net/note/reject/75016 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#126337) next »