vacances2000 Posted January 28, 2013 Share Posted January 28, 2013 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 Quote Link to comment https://forums.phpfreaks.com/topic/273717-adding-automaticly-a-url-to-each-record-in-a-dynamic-table-and-display-automaticly-number-of-columns-required/ Share on other sites More sharing options...
trq Posted January 28, 2013 Share Posted January 28, 2013 See http://forums.phpfreaks.com/topic/11572-multi-column-results Quote Link to comment https://forums.phpfreaks.com/topic/273717-adding-automaticly-a-url-to-each-record-in-a-dynamic-table-and-display-automaticly-number-of-columns-required/#findComment-1408673 Share on other sites More sharing options...
dpiearcy Posted January 28, 2013 Share Posted January 28, 2013 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). Quote Link to comment https://forums.phpfreaks.com/topic/273717-adding-automaticly-a-url-to-each-record-in-a-dynamic-table-and-display-automaticly-number-of-columns-required/#findComment-1408675 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.