Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 12-13-2008, 04:09 PM syntax error '>'
Average Talker

Posts: 21
Name: Hal
Trades: 0
I am getting this message:
Parse error: syntax error, unexpected '>' in .... on line 176
line 176 is: print "<tr>\n";

[code ]
while($getrow = mysql_fetch_array($result))
{
print "<tr>\n";
foreach ($getrow as $field)
print "\t<td>$field</td>\n";
print "</tr>\n";
}
[/code ]
Any suggestions?
hoco is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-13-2008, 04:43 PM Re: syntax error '>'
Decaf's Avatar
Ultra Talker

Posts: 489
Name: Adam
Trades: 0
PHP Code:
while($getrow mysql_fetch_array($result))
    {
      print 
"<tr>\n";
      foreach (
$getrow as $field) {
      print 
"\t<td>$field</td>\n";
}
      print 
"</tr>\n";
    } 
I'm thinking
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Decaf is offline
Reply With Quote
View Public Profile Visit Decaf's homepage!
 
Old 12-13-2008, 07:49 PM Re: syntax error '>'
Average Talker

Posts: 21
Name: Hal
Trades: 0
Same result
hoco is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to syntax error '>'
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.34675 seconds with 12 queries