thanks for that yeldarb! im tired at looking at this!
Still no good though. The switching them round means that the things from the db are assigned to those new variables but still the code is split over multiple lines…
This is annoying me now! LOL
do you think it could simply be length that is forcing a text wrap? I didnt think it was possible but maybe some weird setting somewhere on the server?
try using mysql_fetch_row instead of mysql_fetch_array (i assume that’s what you are using) then use the column numbers instead of the column names (ie for the first column $row[0]) I’ve always used that and never had a problem with line breaks.
solved! after many hours of heart ache i have found my solution! It seems that when my MySQL database was typed each entry had a carriage return in it (not actually visible just an ‘ive pressed enter here’) . therefore when called it added a new line into the HTML! so…on deletion of these it all works!
Anyone know of any way to strip invisible carriage returns?
Creating engaging and entertaining content for designers and developers since 1998.