PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Which it does at the bottom of what? Where are you printing all this? Looks like you're printing from inside a loop while the array is still being built.
now i need some help pulling the form info from the database. i am using the script that i used in the beginning, i need help adjusting it to call the new array out.
Just FYI, if you ever find yourself running a query inside a loop. Stop. Thinking about the problem and about what you really need, because there's almost always a better way. In this case, I don't see a need for the second query at all. You're querying the same table, just grab all the data on the first pass.
i can't get it on the first pass because its 2 different tables. if i get everything from raw data i will come up with multiple results since theres more than 1 of the same ordernumber on the raw data list. i have a orders table that has all the order numbers one time in them. thats the table i am using for the orders list because i have other information on that table like paid and status and stuff.
i need to have all data separate for each formnumber. it would have to be a 3 dimensional array i guess
Array
(
[2TNVS6] => Array
(
[8028] => Array
(
[info1] => data
[info2] => data
[info3] => data
[info4] => data
(
[2031] => Array
(
[info1] => data
[info2] => data
[info3] => data
[info4] => data
(
[9450] => Array
(
[info1] => data
[info2] => data
[info3] => data
[info4] => data
(
)
[W2B368] => Array
(
[1203] => Array
(
[info1] => data
[info2] => data
[info3] => data
[info4] => data
(
[9984] => Array
(
[info1] => data
[info2] => data
[info3] => data
[info4] => data
(
)
[C0XM4B] => Array
(
[2393] => Array
(
[info1] => data
[info2] => data
[info3] => data
[info4] => data
(
)