View Single Post
Old 10-29-2008, 05:55 PM  
Scroto
Confirmed User
 
Scroto's Avatar
 
Join Date: Nov 2005
Posts: 2,804
Any ideas what the error is in this code?

Getting an error with a script...

Parse error: syntax error, unexpected T_LNUMBER on line 31

31 would be the line starting with print

Code:
<?php if($get[avatar] == '') {
  print "<img src=http://$site_url/avatars/non.gif width="80" height="80">";
}else{ print "<img src=$get[avatar] width="80" height="80">"; } ?>
any ideas?
Scroto is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote