Re: quotes

From: Date: Wed, 25 Jun 2003 18:38:08 +0000
Subject: Re: quotes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152855@lists.php.net to get a copy of this message
tough to tell... but it looks like you have the " and ' mixed up before the > in the end :-P - Anthony "Lso ." <lukas__scott@hotmail.com> wrote in message news:LAW8-F68WYdnHDJcxdV00049a74@hotmail.com... > ok i see why i didnt work but i dont know why. > > can anyone tell me why this works: > > <input name="testfield" type="text" value="<? echo htmlentities($company) > ?>"> > > but this doesn't: > > echo "<input name='company' type='text' value='". > htmlentities($company) > ."'>"; > > Lucas Owens > www.lucasowens.com > www.technoiraudio.com > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail >

« previous php.general (#152855) next »