RE: [PHP] ptting the variable inside the input

From: Date: Wed, 22 Aug 2007 19:13:41 +0000
Subject: RE: [PHP] ptting the variable inside the input
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-261125@lists.php.net to get a copy of this message
Hi! You don't have to end your string when placing an array value. {} will tell the parser to interpret the text between as a variable. Try: echo "<tr><td><input name=\"title\" type=\"text\" value=\"{$row['title']}\" /></td>"; Jan

« previous php.general (#261125) next »