Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Lv 2565 points

RuFdRaFt

Favorite Answers45%
Answers51
  • php question string manipulation?

    i've been playing with php for a month now

    just need a li'l help :)

    say i fetched a string in my table

    $strStudID = $row['studid'];

    returned: $strStudID = "DS-00099";

    how can I increment that value to 1 so

    that it would return "DS-00100"

    i am really new to php and don't know

    what functions to use to solve my problem

    any help please?

    Thans in Advance :)

    2 AnswersProgramming & Design1 decade ago
  • php mail function - need help!?

    Hello Folks,

    I'm new at PHP.

    I enjoyed using the mail function of PHP.

    I can email text and even html contents, I tried putting

    php script in my html message but it didn't show up in my email.

    $to = "myemail@yahoo.com";

    $from = "otheremail@yahoo.com";

    $subject = "PHP script";

    $message = <<<EOF

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitiona...

    <html xmlns="http://www.w3.org/1999/xhtml%22%3E

    <head><title>Test</Title>

    <body>

    <?php

    $var1 = "PHP ";

    $var2 = "is fun!";

    echo $var1.$var2;

    ?>

    </body>

    </html>

    --------------

    help is appreciated.

    Thanks!

    1 AnswerProgramming & Design1 decade ago