I need to convert database attributes into Records using PHP. For example
My database attributes are like :
[Name varchar(25), Roll integer, Number integer, Percentage real]
C like structure:
Expand|Select|Wrap|Line Numbers
- struct Info
- {
- char Name[25];
- int Roll;
- int Number;
- float Percentage;
- }
- Struct info Information[100];
Question:
1. Is it possible to code it in PHP ?
2. If possible please can u help me... how?
Advance Thanks