newbie at php , need help with ereg function and arrays
Posted: Tue Jul 09, 2002 9:12 am
Im new to php so anyhelp would be greatly appreciated.
im pulling data from a sql database and the data consists of itemcodes
and qauntitys. my problem is that the item codes contain information about an item.
it 1001xl 1000m same item different size
how could i parse the output to look like
item m xl
1001 1 1
??
anyhelp would be greatly appreciated, thanks.
im pulling data from a sql database and the data consists of itemcodes
and qauntitys. my problem is that the item codes contain information about an item.
it 1001xl 1000m same item different size
how could i parse the output to look like
item m xl
1001 1 1
??
anyhelp would be greatly appreciated, thanks.