Jump to content

adding automaticly a url to each record in a dynamic table and display automaticly number of columns required


vacances2000

Recommended Posts

Hi,

I'm totally new here and to php and phpmysql but having some experience on handling dreamweaver... i'm having two points...

 

What I want is like you are having two columns in a table in a phpmysql database, one for let's say a country name and a second one with a link which should be attached to the name of that country. Secondly as it is about 80 countries, it shouldn't just display one column as it is doing now but 2 or 3 or even 4 as the height of the layer wherein i want to put it is just 350px but 1000px in width.

 

so for instance:

column1 column2

France www.france.com should become France and so on.... this is the first point...

 

France

Hungaria

United Kingdom

United States

 

should become

 

 

France United Kingdom

Hungaria United States etc

 

 

Who can help me please?

 

Thanks

 

Jonathan

Or use CSS and float everything left in a class while wrapping it in a div that's 1000px wide. 4 wide would be 250px width for that floating class (assuming you have no padding or margins which you will so take those into account).

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.