• If i have this code in single-post.php

    $tube= “abcdefghi”
    $sub2 = substr ( $tube ,5);
    echo “$sub2” ;
    ?>
    <script type=”text/javascript”>
    var flashvars = {};
    flashvars.v = “.$sub2.”; ….. </script>

    this return .$sub2. in my source page…
    how i can return the value of $sub2 like below 🙁

    $tube= “abcdefghi”
    $sub2 = substr ( $tube ,5);
    echo “$sub2” ;
    ?>
    <script type=”text/javascript”>
    var flashvars = {};
    flashvars.v = “fghi”; ….. </script>

    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘help with php code plz’ is closed to new replies.