I have used trim function
as:

$myar = trim($value);

but the return value to that array is not trimed ..
still there are white space before and after the real word....


what might had happen

Sorry Guys for the post ...
I Identify the error point ..... i m correct now ..

the above function is abs correct.

Thanks :D

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.