I have a php script that queries a MySQL database and I loop through the
results displaying them as follows:

echo "<td width='100'><input name='description' type='text' size='45'
maxlength='20' value=".StripSlashes(mysql_result($badgedetails, $i,
'descr'))." tabindex='1'/></td>";

The problem is that as per the example above, the text displayed is "Name"
but it should be "Name Badge". With all my fields, the text is displayed OK
until it hits a space. Why does this occur?


****************************************************
This e-mail is intended for the recipient only and
may contain confidential information. If you are
not the intended recipient then you should reply
to the sender and take no further ation based
upon the content of the message.
Internet e-mails are not necessarily secure and
CCM Limited does not accept any responsibility
for changes made to this message. 
Although checks have been made to ensure this
message and any attchments are free from viruses
the recipient should ensure that this is the case.
****************************************************

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to