Re: Math Inside Strings

From: Date: Wed, 29 Aug 2001 20:25:14 +0000
Subject: Re: Math Inside Strings
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-65096@lists.php.net to get a copy of this message
Kevin P <kevin.pottie@odellwebdesign.com> wrote: > echo "<input type='hidden' name='currentPosition' > value='$currentPosition+1'>"; > > can anyone tell me how to get this to stop printing: > > <input type='hidden' name='currentPosition' value='0+1'> echo "<input type='hidden' name='currentPosition' value='", $currentPosition+1, "'>";

« previous php.general (#65096) next »