* PHP
* Microsoft SQL Server 2008 R2
Problem:
Want to Display Selected Data With Column Limit Using Nested Loop Syntax FOR
Solution:
1. Example, Table "Currency"
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
select * from Currency where Allowedf=1
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
Results Messages:
2. Source Code PHP
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
For download example code,
Filename : "Display Selected Data With Column Limit Using Nested Loop Syntax FOR.txt"
Link : https://docs.google.com/file/d/0B6a5vK3IVP_0TFB1Y19Yd1hoRjA/edit?usp=sharing
Results Pages:
Source:
http://bgallz.org/178/php-display-mysql-rows-with-column-limit/