Wednesday, 15 August 2012

php4 - php 4 value checkbox wont show all in php -



php4 - php 4 value checkbox wont show all in php -

hello have little bit problem working on php4 , apache 1.1

<?php $something="first second"; echo '<input type="checkbox" name="standard[]" value='.$something.'>first second<br>'; ?>

result:

first

and if

<?php echo '<input type="checkbox" name="standard[]" value="first second">first second<br>'; ?>

result:

first sec

i want code first 1 result in sec one, how? thanks

do that

echo '<input type="checkbox" name="standard[]" value="'.$something.'">'.$something.'<br>';

one way debugg such things check output view on source or inspect elements

what difference between single-quoted , double-quoted strings in php? ' , "

checkbox php4

No comments:

Post a Comment