Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Aug 2009
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Error in explode()

    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

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,801
    Thanks
    160
    Thanked 2,216 Times in 2,203 Posts
    Blog Entries
    1
    Hi Friends
    above error i got while running my project.., anyone pls check it and give solution
    Please post your code on line 11
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Senior Coder
    Join Date
    Aug 2009
    Location
    Mansfield, Nottinghamshire, UK
    Posts
    1,547
    Thanks
    57
    Thanked 148 Times in 147 Posts
    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.
    Last edited by Phil Jackson; 08-27-2009 at 12:36 PM.

  • #4
    Regular Coder funnymoney's Avatar
    Join Date
    Aug 2007
    Posts
    364
    Thanks
    17
    Thanked 24 Times in 24 Posts
    Quote Originally Posted by govind1986 View Post
    [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 Code:
    <?php
    explode
    ("DELIMITER"$string);
    ?>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •