RE: [PHP] ptting the variable inside the input

From: Date: Wed, 22 Aug 2007 15:08:20 +0000
Subject: RE: [PHP] ptting the variable inside the input
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-261114@lists.php.net to get a copy of this message
[snip] echo $title=$row['title']; echo "<tr><td><input name=\"title\" type=\"text\ value=\"$title\" /></td>"; [/snip] echo "<tr><td><input name=\"title\" type=\"text\ value=\"".$title."\" /></td>"; You have to concatenate the value $title into the string

« previous php.general (#261114) next »