I have worked with arrays for many years. The problem is that I have used one (1) programming language and it is nothing like PHP or anything else out there ...
The arrays I've used since 1989 are one dimension (vertical). Before this I did some Clipper programming where I used multi-dimensional arrays but this many years later, I find myself in the dark.
If I am using the wrong terminology, please let me know as I do not mind being corrected ...
I want to write an application where I figure the use of arrays is the way to go. I want to load a data table to a data grid and get standard input to fill-in blanks. Here is the grid (kind of)
SKU Desc QTY
+------+-----------+------+
| | | |
+------+-----------+------+
| | | |
+------+-----------+------+
| | | |
+------+-----------+------+
The grid could have a couple of hundreds SKUs upon initial load. When the first form is submitted, the second form will display a grid only with SKUs where a QTY has been entered.
Using the language I currently use (character based / UNIX), I could write this in matter of hours (OK, you got me, a day or two including debugging) and I would have to define an array per column on the grid.
I know that PHP offers better array handling and it will be worth my putting off the project until I better understand them.
I hope this explains my objective. What do you guys/gals suggest I do?
Regards,
Jose Lerebours
PS: Any idea what is up with Search?
KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
The arrays I've used since 1989 are one dimension (vertical). Before this I did some Clipper programming where I used multi-dimensional arrays but this many years later, I find myself in the dark.
If I am using the wrong terminology, please let me know as I do not mind being corrected ...
I want to write an application where I figure the use of arrays is the way to go. I want to load a data table to a data grid and get standard input to fill-in blanks. Here is the grid (kind of)
SKU Desc QTY
+------+-----------+------+
| | | |
+------+-----------+------+
| | | |
+------+-----------+------+
| | | |
+------+-----------+------+
The grid could have a couple of hundreds SKUs upon initial load. When the first form is submitted, the second form will display a grid only with SKUs where a QTY has been entered.
Using the language I currently use (character based / UNIX), I could write this in matter of hours (OK, you got me, a day or two including debugging) and I would have to define an array per column on the grid.
I know that PHP offers better array handling and it will be worth my putting off the project until I better understand them.
I hope this explains my objective. What do you guys/gals suggest I do?
Regards,
Jose Lerebours
PS: Any idea what is up with Search?
KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours