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 - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -