i have a select box which show list of company name & the code for that is like below.
echo "<option value=$getClient[company_name]>$getClient[company_name]</option>";
the thing is if
<option value=$getClient[company_name]>
has something like Abcd Company as it's value after submit, it only shows the part "Abcd". lines after space been left out. but on the database where i store the data it appears as "Abcd Company" when i try to view data through a frontend this thing happens.
can someone help me on this?