In my form, I have the following values ββthat are based on a standard PHP / MySql query.
echo "<tr>\n <td align='right'><b>Location</b></td> <td><input name='student_location' type='text' size='25' style='font-weight: 700' value=$location></td> </tr>";
When the value of $location
is one word, it displays correctly when more than one word says only North Campus is displayed.
I doubled and tripled the triple, and the correct value is in the database when I echo the value for $ location, which matches the correct value, but when it appears in the box above it, it breaks the last word. He does this to all my variables, which are more than one word, so I missed something obvious.
source share