Once I'm on a page like this...
herodb.php?action=hero&HeroID=1
I want to display the info related to that Hero with that HeroID. I tried the next script...
<?php
while($heroes->("HeroID")){
?>
<?php echo $heroes->f("DOB"); ?> - <?php echo $heroes->f("DOD"); ?>
<?php } ?>
But it seems it doesn't work... get an error like...
Parse error: parse error, expecting T_STRING' orT_VARIABLE' or '{'' or'$'' in hero.php on line 70
Why?