tough to tell... but it looks like you have the " and ' mixed up before the > in the end :-P
- Anthony "Lso ." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php