Profile Block parse error

Status: 
Solved
Question: 

Just like in default avatar , I get a parse error: syntax error, unexpected T_STRING in /drupal/includes/common.inc(1648) : eval()'d code on line 7

PHP code:
<?php
global $user;
$myuid= $user->uid;
$node= content_profile_load(profile, $myuid);
//profile above=the name of our content type
$profileid= $node->nid;
print l(’My profile’,’node/’.$profileid);
//l() is a function provided by Drupal that creates a link.
//l(link display text, path after main path)
?>

Any ideas?

Responses

1. Try to type the ' again. If

Try to type the ' again. If your pdf reader displays them as "curly", they will produce errors.