hi
little prob...
i wanna insert in a textfield a value in my Db....but when there is more than one word....only the first one appears in the text input...
wot the solution?
Moderators: macek, egami, gesf

<input type="text" name="stupidfield" value="default value">

cho@ wrote:No in fact i mean....
echo"<td><input name="Name1" type="text" size="20" maxlength="20" value=";
if($Row[Linkname1]){
print($Row[Linkname1]);}
echo"></td>";
i have only the value "my" in my text field.....
echo " text to echo "print('<td><input name="Name1" type="text" size="20" maxlength="20" value="');
if($Row[Linkname1]){
print($Row[Linkname1]);}
print('"></td>');
cho@ wrote:No in fact i mean....
in my Db fiels i have this value..."my link name" ok..
and then when i put this value in a text files in my form
echo"<td><input name="Name1" type="text" size="20" maxlength="20" value=";
if($Row[Linkname1]){
print($Row[Linkname1]);}
echo"></td>";
i have only the value "my" in my text field.....
shall i add that i have the same prob 4 my update...
thx 4 ur helps
dvdbinternet wrote:when using ' you don't have to escape the spacial characters.
Greetz Daan
<?
$string = "This is my string";
print "The string is '$string'\nthat was it"; //Outputs The string is 'This is my string'
that was it
print 'The string is "$string"\nthat was it"; //Outputs The string is "$string"\nthat was it
Return to PHP coding => General
Users browsing this forum: No registered users and 4 guests