Change Height and width dynamically of any tag or object in php
<?php echo preg_replace("#(width|height)=[\'\"](\d)+[\'\"]#ies","(strtolower('\\1')=='width') ?
\"\\1='277'\":\"\\1='252'\"",$string)."\r\n"; ?>
Magento, OpenCart, Joomla, wordpress, PHPBB, Core PHP, jQuery, Javascript professional elancer.
Home » replace width and height of html element using regular expression » Change Height and width dynamically of any tag or object in php
No comments:
Post a Comment