Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

I need some help with PHP. :)

Zephyr Studios
Loyal Member
Joined
Feb 18, 2012
Messages
1,877
Reaction score
724
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
 
Newbie Spellweaver
Joined
Jan 19, 2013
Messages
76
Reaction score
13
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, penis.
 
Upvote 0
Developer
Joined
Nov 26, 2011
Messages
509
Reaction score
81
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.
 
Upvote 0
Zephyr Studios
Loyal Member
Joined
Feb 18, 2012
Messages
1,877
Reaction score
724
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
 
Upvote 0

r63

Elite Diviner
Joined
Jan 27, 2012
Messages
417
Reaction score
63
If you can rephrase what you are trying to do I may be able to help
 
Upvote 0
Developer
Joined
Nov 26, 2011
Messages
509
Reaction score
81
Look for example at a v18 oldschool loader maker, like on thehabbos.org

Hmm.. Do you mean the green texts?

PRIZM - I need some help with PHP. :) - RaGEZONE Forums
 
Upvote 0
Newbie Spellweaver
Joined
May 14, 2012
Messages
51
Reaction score
12
PHP:
	$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?
 
Upvote 0
Zephyr Studios
Loyal Member
Joined
Feb 18, 2012
Messages
1,877
Reaction score
724
PHP:
    $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. ;)
 
Upvote 0
Back
Top