Top Questions

  • 5.11 Years

    • Category : Wordpress
    • Location : Chandigarh, India
    • Posted On : Aug 14, 2015

    After wordpress login redirect page but not refresh so please try to add these lines in the top of the your wordpress theme file like header.php or wp-config.php https://www.youtube.com/watch?v=ItTjUrTZ_JE

    <?php
    str = "Hello world. It's a beautiful day.";
    print_r (explode(" "$str));
    ?>
    

    1 Answers

    View More

    admin

    admin

    5.3 Years

    Answered:

    Aug 23, 2015

    error in 3rd line

    write this :

    <?php
    $a="how work php,wordpress";
    $b=explode(',',$a);
    print_r($b);
    // or 
    echo $b[0]; // $b[1]
    // output
    // $b[0] = how work php
    // $b[1] = wordpress
    ?>

     

Add Your Answer

When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
Let's work to help developers, not make them feel stupid.