-
mySql Query **SOLVED**
Hey all, it been a while since my last php project, and I guess I frogot everything........:blush:
I am trying to get a result from db in mySql. But i always get this error Message:
Warning: Supplied argument is not a valid MySQL result resource in ...
Heres the relevant code:
PHP Code:
$queryTeams = "SELECT * FROM teams WHERE Group = 'A'";
$resultTeams = mysql_query($queryTeams);
while($Team = mysql_fetch_array($resultTeams)) // this is where the error is pointing
Thanks
Stephan
-
myQuery ws wrong
SELECT * FROM `teams` WHERE `Group` = 'A'
that one works :rolleyes:
Finally,
Thanks,
Stephan