HI
How can I read one table wit this content
Product,Service,Total,blabla,blabla,
and simple way to get something like this from this table
$word1 = Product;
$word2 = Service;
$word3 = Total;
![]()
| SitePoint Sponsor |

HI
How can I read one table wit this content
Product,Service,Total,blabla,blabla,
and simple way to get something like this from this table
$word1 = Product;
$word2 = Service;
$word3 = Total;
![]()
you could use explode()
how to read from a databasePHP Code:$parts = explode(',', $string);
print_r($parts);
http://us2.php.net/mysql_query

I still dont understand how to get every wordI am not profy

Yeah Thanks clamcrusher![]()
![]()
Originally Posted by doca
I hope that Product,Service,Total,blabla,blabla, are your column names, not data stored in a single column. Multiple sets of data should never be stored in a single column of a database, it's bad design.
]
Bookmarks