I need some help with PHP. :)

Results 1 to 12 of 12
  1. #1
    Zephyr Studios PRIZM is offline
    Grand MasterRank
    Feb 2012 Join Date
    DenmarkLocation
    2,291Posts

    happy I need some help with PHP. :)

    Hello!
    I was wondering how I can code this for example:

    Here is some code:
    jho3rijp4jtroj45tæj54ætjæ5

    How can I code so the text in the textbox goes inside the code?
    For example [This is some text in a textbox]
    And it goes inside this:

    jho3rijp4jtrThis is some text in a textboxoj45tæj54ætjæ5

    I hope you understand what I mean! :)

    Greetz,
    Prizm


  2. #2
    Member TimNL is offline
    MemberRank
    Jan 2013 Join Date
    78Posts

    Re: I need some help with PHP. :)

    I do not understand.

  3. #3
    Zephyr Studios PRIZM is offline
    Grand MasterRank
    Feb 2012 Join Date
    DenmarkLocation
    2,291Posts

    Re: I need some help with PHP. :)

    Quote Originally Posted by TimNL View Post
    I do not understand.
    Then don't post/spam?

  4. #4
    Member TimNL is offline
    MemberRank
    Jan 2013 Join Date
    78Posts

    Re: I need some help with PHP. :)

    Dont act like a kid, i try to help you but forget it now .|.

    you are joking?

    Here is some code:
    jho3rijp4jtroj45tæj54ætjæ5 <- PHP by Prizm?

    if thats a good example my name is M, Dick.

  5. #5
    Developer PremiumEye is offline
    Grand MasterRank
    Nov 2011 Join Date
    NetherlandsLocation
    550Posts

    Re: I need some help with PHP. :)

    TimNL is right my boy. You have to explain your problem better.
    The only thing I can make of your explanation is this:

    You have a converted word or something that looks like this:
    jho3rijp4jtroj45tæj54ætjæ5

    In the middle of the text you want to add a rule with text? What will look like this:
    jho3rijp4jtrThis is some text in a textboxoj45tæj54ætjæ5

    I don't know for sure if this is possible with php. I think you should do this with jquery or javascript.

  6. #6
    Zephyr Studios PRIZM is offline
    Grand MasterRank
    Feb 2012 Join Date
    DenmarkLocation
    2,291Posts

    Re: I need some help with PHP. :)

    Quote Originally Posted by PremiumEye View Post
    TimNL is right my boy. You have to explain your problem better.
    The only thing I can make of your explanation is this:

    You have a converted word or something that looks like this:
    jho3rijp4jtroj45tæj54ætjæ5

    In the middle of the text you want to add a rule with text? What will look like this:
    jho3rijp4jtrThis is some text in a textboxoj45tæj54ætjæ5

    I don't know for sure if this is possible with php. I think you should do this with jquery or javascript.
    Look for example at a v18 oldschool loader maker, like on thehabbos.org

  7. #7
    Sorcerer Supreme r63 is offline
    Member +Rank
    Jan 2012 Join Date
    apt-get GPSLocation
    430Posts

    Re: I need some help with PHP. :)

    If you can rephrase what you are trying to do I may be able to help

  8. #8
    Developer PremiumEye is offline
    Grand MasterRank
    Nov 2011 Join Date
    NetherlandsLocation
    550Posts

    Re: I need some help with PHP. :)

    Quote Originally Posted by Prizm View Post
    Look for example at a v18 oldschool loader maker, like on thehabbos.org
    Hmm.. Do you mean the green texts?


  9. #9
    Zephyr Studios PRIZM is offline
    Grand MasterRank
    Feb 2012 Join Date
    DenmarkLocation
    2,291Posts

    Re: I need some help with PHP. :)

    Quote Originally Posted by PremiumEye View Post
    Hmm.. Do you mean the green texts?

    Where did you get that code from?
    It's a bit confusing, so i dunno.

  10. #10
    I don't even know azaidi is offline
    Grand MasterRank
    Apr 2010 Join Date
    the NetherlandsLocation
    2,065Posts

    Re: I need some help with PHP. :)

    Please explain your problem a little bit better and I'll help you. If all you want is a single substring I could easily fix that.

    $txt = substr($old, 0, strlen($old)/2).$add.substr($old, strlen($old)/2);

  11. #11
    Member Silas R is offline
    MemberRank
    May 2012 Join Date
    51Posts

    Re: I need some help with PHP. :)

    PHP Code:
        $PLACEHOLDER = array(
                             
    '{#PLACEHOLDER#}'
                            
    );
                            
        
    $REPLACE     = array(
                             
    'This is some text in a textbox'
                            
    );
                            
        
    $TEXT        'jho3rijp4jtr{#PLACEHOLDER#}oj45tæj54ætjæ5';
        
    $OUTPUT      str_replace($PLACEHOLDER$REPLACE$TEXT);

        print 
    $OUTPUT// OUTPUT: jho3rijp4jtrThis is some text in a textboxoj45tæj54ætjæ5 
    Do you mean this?

  12. #12
    Zephyr Studios PRIZM is offline
    Grand MasterRank
    Feb 2012 Join Date
    DenmarkLocation
    2,291Posts

    Re: I need some help with PHP. :)

    Quote Originally Posted by Silas R View Post
    PHP Code:
        $PLACEHOLDER = array(
                             
    '{#PLACEHOLDER#}'
                            
    );
                            
        
    $REPLACE     = array(
                             
    'This is some text in a textbox'
                            
    );
                            
        
    $TEXT        'jho3rijp4jtr{#PLACEHOLDER#}oj45tæj54ætjæ5';
        
    $OUTPUT      str_replace($PLACEHOLDER$REPLACE$TEXT);

        print 
    $OUTPUT// OUTPUT: jho3rijp4jtrThis is some text in a textboxoj45tæj54ætjæ5 
    Do you mean this?
    Yes! Thank you. ;)



Advertisement