/    Sign up×
Community /Pin to ProfileBookmark

Problem on retrieving values from the database

I am retrieving a value from the database and I insert the value as a value of a field
The problem is that when the value has spaces then in the filed is viewed only the part of the value before the first space.
If the value is not includes any spaces then the value appears in the field correct.

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@myanavrinAug 23.2007 — I think the problem is when you are inserting the value in the database. It is better if you could show some codes.
Copy linkTweet thisAlerts:
@spyrosauthorAug 24.2007 — I had a mistake in my code I forgot to put double quotes before and after the variable.

Thank you very much


<i>
</i>
&lt;input type = text name = nameee value="'.$name.'" size="50"&gt;

×

Success!

Help @spyros spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...