...

View Full Version : Error in explode()



govind1986
08-27-2009, 12:53 PM
Warning: explode() [function.explode]: Empty delimiter in C:\wamp\www\tesst\Untitled-1.php on line 11
.$s[$i].

Hi Friends
above error i got while running my project.., anyone pls check it and give solution

abduraooft
08-27-2009, 01:11 PM
Hi Friends
above error i got while running my project.., anyone pls check it and give solution Please post your code on line 11

Phil Jackson
08-27-2009, 01:21 PM
if that is ran throught a loop im guessing one or more of the values of $i exceed the size of $s.
EDIT: no wrong, that is an offset error.

funnymoney
08-27-2009, 01:36 PM
[B]Warning: explode() [function.explode]: Empty delimiter in C:\wamp\www\tesst\Untitled-1.php on line 11

first parameter of explode function is delimiter, if delimiter is not set properly your script will execute error code posted above



<?php
explode("DELIMITER", $string);
?>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum