Set a variable in a quoted text in php -
i wondering if can php:
<?php die(" <input name='data' type='hidden' value='". $minute=date('i')-15;echo($minute)."'/>"); ?>
the question if can set variable inside "die". useful because way see easier variables , mean... possible? if not think try else. sorry english..this not original language.
well, die avoid other code run on but, need.
just structure before putting in, die doesn't allow kind of contacts, punctuation, etc.
$minutes=$minute=date('i')-15; $var='<input name="data" type="input" value="'. $minutes .'"/>'; die($var);
Comments
Post a Comment