On 11 September 2003 19:56, CPT John W. Holmes wrote: > From: "murugesan" <[EMAIL PROTECTED]> > > > > This will help you > > > > <?php > > $dins="Dinesh"; > > echo "<input type=text name=dins class='textbox' value='$dins' >"; > > > > > Use double quotes for HTML attributes.
Why? Both the HTML 4.01 and XHTML 1.0 (via XML 1.0) specifications explicitly allow both single and double quotes for attribute values. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php