ZimZangZoom
Programmer
- Dec 17, 2004
- 26
Hello,
I am trying to get some info out of my MySql Database and would like to use the Array later on in the script..
I wish to loop through the array using "foreach" or "while".
In the array i have 4 elements
-name
-email
-time
-day
how can i slit up my array?
I have tried,
foreach $array (@array) {
print "$array";
}
but i need to devide up the results the mysql query gave me.
Drew
I am trying to get some info out of my MySql Database and would like to use the Array later on in the script..
I wish to loop through the array using "foreach" or "while".
In the array i have 4 elements
-name
-time
-day
how can i slit up my array?
I have tried,
foreach $array (@array) {
print "$array";
}
but i need to devide up the results the mysql query gave me.
Drew