PHP only displaying first word of string in table
问题 I'm dynamically creating a table from a MySQL query. For some reason, the 'notes' field below is only returning the first word of the string, although when I test it with echo($notes) it shows up just fine. $status is similarly set, and also is fine. What am I missing? I assume it has something to do with prepopulating the text field with the value. I'm using codeigniter. $notes = empty($row["notes"]) ? "None" : $row["notes"]; echo($notes); echo(' <tr class="even"> <td class="status-icons">'.