Jump to content

php coding help!!


hani

Recommended Posts

i think what i would do it to put made-up html tags where ever i want to edit the template (e.g. <textToChange></textToChange> - browsers ignore any tags they doesn't recognize so this shouldn't be a problem) and then use regular expressions to fin the location of these tags, and replace them with the desired content. you can do this in the php by maybe using pairs of ?><?php in the middle of the code. it would do nothing to the flow of the php, but it would allow you to find the location with regular expression functions.

Link to comment
https://forums.phpfreaks.com/topic/130558-php-coding-help/#findComment-677341
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.