The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Loading HTML Text box value attribute
jjack
post Jul 22 2013, 05:17 AM
Post #1





Group: Members
Posts: 1
Joined: 22-July 13
Member No.: 19,455



I am loading the value attributes of text boxes on a HTML form from a database with a view to change the values manually then update the database. The problem I have is that in some of the text box value fields only the first word of the string is displayed i.e. the suburb name of "Rooty Hill" is returned from database (I echoed this outside of the form to prove it) but only "Rooty" is displayed. This occurs in all the value fields that have a string with more than one word. I am using embedded PHP as the code to search the database and put the data into the value fields. Any suggestions.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Jul 22 2013, 08:24 AM
Post #2


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



QUOTE(jjack @ Jul 22 2013, 07:17 PM) *

Any suggestions.


Yes, there's an error in your PHP program. But we can't really help unless we can see it -- please post the relevant *part* of the php, and preferably a link to the page that doesn't work yet.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 08:27 AM