Results 1 to 2 of 2

Thread: php replace question

  1. #1
    hyeclass is offline x10 Sophmore
    Join Date
    Dec 2005
    Posts
    174

    php replace question

    hey,
    how can i replace
    test[backspace]

    with tes

    so [backspace] gets replace with backspace ....
    donno how to explain this
    http://x-pose.tk

    http://bugz-inc.tk

  2. #2
    Bryon is offline Administrator
    Join Date
    Apr 2005
    Posts
    7,724

    Re: php replace question

    You would want it like:


    test[backspace]
    or
    wordtoyomomma[backspace]

    Would become:


    tes
    or
    wordtoyomomm

    ?

    So the "[backspace]" gets "taken out", along with the last character in the string?
    If you explain more clearly I can help you out.

    *moves thread to right forum*
    Last edited by Bryon; 02-02-2006 at 03:38 PM.

Similar Threads

  1. [PHP] Variables in PHP
    By Bryon in forum Tutorials
    Replies: 15
    Last Post: 01-29-2009, 09:46 AM
  2. tons of PHP Resources
    By Chris S in forum Scripts, 3rd Party Apps, and Programming
    Replies: 10
    Last Post: 01-16-2009, 10:07 AM
  3. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 09:16 PM
  4. Qucik Question on PHP
    By Zenax in forum Scripts, 3rd Party Apps, and Programming
    Replies: 0
    Last Post: 10-18-2006, 07:47 AM
  5. http access and php read/write permissions.... one question !!
    By careerbridge in forum Scripts, 3rd Party Apps, and Programming
    Replies: 8
    Last Post: 06-18-2006, 07:35 AM

Posting Permissions

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