Re: Form again

From: Date: Wed, 27 Dec 2000 17:59:31 +0000
Subject: Re: Form again
Groups: php.general 
Request: Send a blank email to php-general+get-31985@lists.php.net to get a copy of this message
This is a question relating to the origonal code, Ive allways wondered why do people start php, stop php, start php, stop php all on one line? I prefer this, its easier to read. <?php echo "<input type='radio' value='$D4' name='C4'>$D4 \n"; ?> Im sure the answer is personal opinion, but it is easier to read isnt it? and therefore easier to add/delete/modify code right? Chris Lee Mediawaveonline.com In article <003b01c06ff0$669be1e0$1400a8c0@jason>, "JB" <jbeebe@aimsmarketing.com> wrote: > This::::: > <input type="radio" value='<?php '$D4' ;?>' > name='C4'><?php echo "$D4" > ;?> > > Should be this::::: > <input type=radio value="<?php print "$D4" ;?>" > name="C4"><?php print > "$D4" ;?> > > echo and print work the same, i just prefer print > > Mike <mpeloso@princeton.edu> wrote in message > news:92d84f$3gt$1@toye.p.sourceforge.net... >> Whats wrong with this: >> <input type="radio" value='<?php '$D4' ;?>' >> name='C4'><?php echo >> "$D4" >> ;?> >> Its in a form. $D4 was passed to this form without a problem (it shows >> up correctly in my table) but Im trying to repass it as C4 but its not >> working. >> >> This is the recieving form field: >> <td width="100%"><?php echo '$C1';?></td> >> Thanks Mike mpeloso@princeton.edu >> >> >> >> >> >>

« previous php.general (#31985) next »