|
Posted by mbyrd1332 on 04/05/06 00:50
Just wondering if any of you knew of a way to trap the <!-- #BeginDate
format:Am1 -->April 4, 2006<!-- #EndDate --> (Dreamweaver's
Auto-Update-on-Save Date Code) into a PHP variable and still have the
Date update on save? Or really any way to have a variable with the
updated date stored when the file is saved is what i'm looking for,
this just seemed like a possible solution.
Something to the effect of:
<?php
$saved_date = '<!-- #BeginDate format:Am1 -->April 4, 2006<!-- #EndDate
-->';
?>
or
<?php
$saved_date = ' ?> <!-- #BeginDate format:Am1 -->April 4, 2006<!--
#EndDate --> <?php ';
?>
But Dreamweaver skips over the code when it's embedded in the php in
the first example, and the second i'm sure would cause a compile error.
Navigation:
[Reply to this message]
|