// Hat sich erledigt
//
Hey,
habe mal eine kurze Frage zu folgendem Code
Meine Frage, wenn ich mysql_fetch_assoc mache, wieso bekomme ich nicht das "s" als assoz. index in mein array $row?
![Big Grin](https://www.php-resource.de/forum/core/images/smilies/biggrin.gif)
Hey,
habe mal eine kurze Frage zu folgendem Code
PHP-Code:
SELECT COUNT(something) as s FROM anywhere WHERE This = 'that';
// so und nun will ich das Ergebnis als assoziatives Array holn nachdem ich
//mysql_query usw. gemacht habe
While ($row = mysql_fetch_assoc ($sql) {
var_dump ($row);
}
// $row [s] existiert nicht ?! warum ? , es existiert nur $row [0]