Hello,
i have a PHP prog. It sends a simple select query to mysql and shows the results on a html form. But two Strings are not whole. For example orderName is in the database like this: "Akku Siemens C25 C 28 C 25 Li-Ion" on html form i see only "Akku"
when i use echo outside of the form i see the result correctly.
Any idea?
My guess is you're not quoting it.
...name="whatever" value=Akku Siemens C25 C 28 C 25 Li-Ion id=...
would produce exactly what you're describing.
i dont write the value directly. Value is a php Variable. It contains the "Akku Siemens C25 C 28 C 25 Li-Ion id=..." When i use echo outside of the form i see it exactly. But on the inputfield of the form i see only "akku"
And, like I said, it looks to me like you're not quoting it. I can only guess because you haven't shown us any code.
i got it it doesnt work like this; <? <input type='text' name='menge' size='1' value=$amounts[0]> ?> but so; <input type="text" name="menge" size="5" value='<?echo $artnames[1]?>'>
yes
Thak you for the answering