[ create a new paste ] login | about

Link: http://codepad.org/DtgoZGe7    [ raw code | output | fork ]

PHP, pasted on Dec 27:
1
2
3
4
5
6
<?php

$deptid = 1;
$deptname = 'Department of Silly Walks';

?><input type="hidden" name="options[<?=$deptid?>]" value="<?=$deptname?>">


Output:
1
<input type="hidden" name="options[1]" value="Department of Silly Walks">


Create a new paste based on this one


Comments: