Welcome Guest, Not a member yet? Register   Sign In
Replace every instance with regualr expression
#1

[eluser]RaZoR LeGaCy[/eluser]
Hi,

Trying to replace every instance of [player_id=XXXXX] with <iframe scrolling="no" frameborder="0" src="<?php echo base_url(); ?>player_alone/XXXXXX/" style="border: none; width: 300px; height: 252px;"></iframe> from a variable.

This is so simple but can't wrap my head around this for some reason.

Thank you.




Theme © iAndrew 2016 - Forum software by © MyBB