Jump to content

A text converter


joe12

Recommended Posts

I was just wondering how you would go about creating this as I'm not very experienced with php.

 

 

Say you have the following text.

 

Quote:

At 08-05 06:25:19, as it came to a battle:

Attacker Joe (X:XXX:XX)
Weapons: XXX% Shields: XXX% Armour: XXX%
Ship type Number
S.Cargo 3
L.Fighter 6

 

and out of that text create a code that grabs part of it and spits it out saying something like.

 

 

[center]Attacker Joe
S.Cargo...3
L.Fighter...6[/center]

 

and apply some bbcode effects to it to, thanks for anyone who helps, joe.

Link to comment
https://forums.phpfreaks.com/topic/118226-a-text-converter/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.