Welcome!

Join our community of MMORPG enthusiasts and private server developers! By registering, you'll gain access to in-depth discussions on source codes, binaries, and the latest developments in MMORPG server files. Collaborate with like-minded individuals, explore tutorials, and share insights on building and optimizing private servers. Join us today and unlock the full potential of MMORPG server development!

Join Today!

I need some help with PHP. :)

Joined
Feb 18, 2012
Messages
1,877
Reaction score
724
Location
Denmark
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
 
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.
 
Upvote 0
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
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
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
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
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