Forums
This topic is locked
Bullet list for a text field
Posted 22 Sep 2004 12:31:35
1
has voted
22 Sep 2004 12:31:35 Saleem Tahir posted:
I want to convert the data displayed from a database field into a Bulleted list. I put data in the database in a Simples Text/ text area field and then display it on the website. But it displays all the data but I want every line of that field to be converted into Bulleted text.
The Data is the text field I store is mostly the features of any product and then and I want that every feature to be displayed in Bulleted list.
Any help in this regard is greatly Appriciated and ANTICIPATED.
Replies
Replied 22 Sep 2004 14:07:44
22 Sep 2004 14:07:44 Lee Diggins replied:
You can't really do this in a text area field, however, you can do it on a web page.
What server-side script are you using?
Digga
Sharing Knowledge Saves Valuable Time!!!
What server-side script are you using?
Digga
Sharing Knowledge Saves Valuable Time!!!
Replied 22 Sep 2004 20:00:41
22 Sep 2004 20:00:41 Saleem Tahir replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
You can't really do this in a text area field, however, you can do it on a web page.
What server-side script are you using?
Digga
Sharing Knowledge Saves Valuable Time!!!
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Exactly I want to do it on webpage. Sorry for my english .I am using Php/msq combination to do this. I also need such functionlaity for my asp/vbscript project.
You can't really do this in a text area field, however, you can do it on a web page.
What server-side script are you using?
Digga
Sharing Knowledge Saves Valuable Time!!!
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Exactly I want to do it on webpage. Sorry for my english .I am using Php/msq combination to do this. I also need such functionlaity for my asp/vbscript project.
Replied 23 Sep 2004 10:51:12
23 Sep 2004 10:51:12 Lee Diggins replied:
Hi
The VBScript version would be something like this:
<ul>
<%
While ((NOT rsMyData.BOF) AND (NOT rsMyData.EOF)) %>
<li><%=(rsMyData.Fields.Item("col_user_fname".Value)%></li>
<% rsMyData.MoveNext()
Wend
%>
</ul>
Can't help you on the PHP version though
Digga
Sharing Knowledge Saves Valuable Time!!!
The VBScript version would be something like this:
<ul>
<%
While ((NOT rsMyData.BOF) AND (NOT rsMyData.EOF)) %>
<li><%=(rsMyData.Fields.Item("col_user_fname".Value)%></li>
<% rsMyData.MoveNext()
Wend
%>
</ul>
Can't help you on the PHP version though
Digga
Sharing Knowledge Saves Valuable Time!!!
Replied 23 Sep 2004 16:17:51
23 Sep 2004 16:17:51 Saleem Tahir replied:
Thanks
Hi
The VBScript version would be something like this:
<ul>
<%
While ((NOT rsMyData.BOF) AND (NOT rsMyData.EOF)) %>
<li><%=(rsMyData.Fields.Item("col_user_fname".Value)%></li>
<% rsMyData.MoveNext()
Wend
%>
</ul>
Can't help you on the PHP version though
Digga
Sharing Knowledge Saves Valuable Time!!!
Hi
The VBScript version would be something like this:
<ul>
<%
While ((NOT rsMyData.BOF) AND (NOT rsMyData.EOF)) %>
<li><%=(rsMyData.Fields.Item("col_user_fname".Value)%></li>
<% rsMyData.MoveNext()
Wend
%>
</ul>
Can't help you on the PHP version though
Digga
Sharing Knowledge Saves Valuable Time!!!