Hi, I am developing a website where user can submit there profile and employer can see them. the problem is the alignment is not good when I am retrieving from the table and dispalying that profile. how to display the profile in the correct alignement as user submitted? I am using TEXT formate field in database. example: user profile: • Sun Certified Java Programmer , Developer & Oracle 9i Certified with over six plus years of IT experience in Java Application Development, Distributed Application development, Object Oriented Programming, Internet/Intranet based Database Applications and also developing, testing and implementing of application Environment using Java/J2EE (Servlets, JSP, Java Beans, EJB, JDBC, XML, Applets, AWT), OOAD, DB2 and Oracle. • Extensive experience in designing and architecture of J2EE based large applications. • Extensive experience using Apache and Jakarta Struts 1.1.x Framework. • Familiar with all aspects of technology projects including Business Requirements, Technical Architecture, Design Specification, Development and Deployment. I am displaying as: • Sun Certified Java Programmer , Developer & Oracle 9i Certified with over six plus years of IT experience in Java Application Development, Distributed Application development, Object Oriented Programming, Internet/Intranet based Database Applications and also developing, testing and implementing of application Environment using Java/J2EE (Servlets, JSP, Java Beans, EJB, JDBC, XML, Applets, AWT), OOAD, DB2 and Oracle. • Extensive experience in designing and architecture of J2EE based large applications. • Extensive experience using Apache and Jakarta Struts 1.1.x Framework. • Familiar with all
looks like the "<BR>" tags are being stripped from your code you could either pull it out of the database with something like $skills = nl2br($row["thefield"]); Code (markup): this would put the correct formatting on it with a line break. a more complex way could be to say $skills = explode(".", $row["field"]); echo "<UL>"; foreach($skills as $skill) { echo "<li>".$skill."</li>"; } echo "</UL>"; Code (markup): what does that do? well it should split it at the bullet (though you may need to get the ascii value for the bullet instead) it then explodes the field into an array with each key starting after each bullet It then echos out an HTML list so you will then have better XHTML compliance