Jump to content

how can i print single mysql query array data in multiple TD's


mwgi2005

Recommended Posts

Hey All,

 

i am new here, i have got seven categories from the query, let suppose the categories are (Audio, Video, Browser, Antivrus, Wallpapers, Desktop, Scripts) i want to print them as following, each table have a partation in the center, each TR consist of 3 TD's, and after that i we have any more data, then a loop should create

new layer, and one thing nore, which is not working here, the background of first row should have any colour and the second TR dont have, then for the third colour background and fourth simple (no colour), and this process will continue untill the data in query printed completly.

 

i'll be waitng for the prompt reply, if any one can help me out plz do it.

 

Audio

|

Video

Browser

|

Antivrus

Wallpapers

|

Desktop

Scripts

|

empty

Link to comment
Share on other sites

no i have just create a while loop and between that code i have created tables, which i have told you before, if you can write a code, then i'll be thank full to you, i have no idea how to print those records indivisualy in each table data,

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.