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

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -