Post here is you are having problems with any of the tutorials.
-
Djmann1013
- Posts: 11
- Joined: Sun Aug 19, 2012 12:19 am
-
Contact:
Post
by Djmann1013 »
I keep getting this error:
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 addict.
-
Temor
- Posts: 1187
- Joined: Thu May 05, 2011 8:04 pm
Post
by Temor »
foreach ((fetch_users() as $user){
You have two opening brackets where you only should have one.