Desperados
New Member
Is it possible to create a dynamic variable in PHP based on the value that comes from mysql database?I mean,say I have a field in mysql \[code\]State\[/code\]When I read the value in php using \[code\]row['State']\[/code\] from the database and if I get a value like \[code\]Alabama\[/code\], I want to have a variable created like \[code\]$Alabama_count\[/code\] and I will initialize to \[code\]0\[/code\] or \[code\]1\[/code\].Thanks.