Please help; I have input text data from a form into mySQL table, recovered it using php script and written it back to the form using value=var[ ]. If the data has spaces in it, i.e. more than one word, all characters after the first space are lost. But echo before the table HTML shows that the full text was recovered from the table. What's going on?
Wouldbecomp
0
Newbie Poster
Recommended Answers
Jump to PostHi,
Are you storing data in array after retrieving from mysql.
y?
Please try this way ans see your output-- store it as string variable.If you have any doubt please let me know.
All 4 Replies
arunmagar
0
Light Poster
Wouldbecomp
0
Newbie Poster
arunmagar
0
Light Poster
Wouldbecomp
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.