Parse error: syntax error, unexpected T_AS
Here is my code:
<?php foreach ((fetch_users() as $user){ ?> <p> <a href=""><?php echo $user['username']; ?></a> </p> <?php } ?>I don't see why this is having a problem.
<?php foreach ((fetch_users() as $user){ ?> <p> <a href=""><?php echo $user['username']; ?></a> </p> <?php } ?>I don't see why this is having a problem.
foreach ((fetch_users() as $user){You have two opening brackets where you only should have one.