Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Senior Coder
    Join Date
    Aug 2005
    Posts
    1,119
    Thanks
    2
    Thanked 1 Time in 1 Post

    Getting info out of a table, and formatting it.

    Okay, i have a table containing a bunch of rows.

    Format of the table is

    id name


    and in the table i have things like:

    1 Photoshop
    2 Flash
    3 PHP
    4 CSS
    5 HTML

    etc, what i want to do, is get them out of the table, and format them to be like this:

    <li class="brdmenulinks">Photoshop</li>
    <li class="brdmenulinks">Flash</li>
    etc...

    in the order of there id.

  • #2
    Senior Coder
    Join Date
    Sep 2005
    Posts
    1,791
    Thanks
    5
    Thanked 36 Times in 35 Posts
    How is that different to what you asked here:
    echoing a mysql array.
    ??


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •