Jump to content

error


gabrielebr

Recommended Posts

All strings need to have quotes around them.

$myemail = "gabriele";$sito = "farchemia.it";

Link to comment
Share on other sites

All strings need to have quotes around them.
$myemail = "gabriele";$sito = "farchemia.it";

Thank you,but it seems there is something else that must be wrong: I have this error.Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in......
Link to comment
Share on other sites

Check your quoting:

echo "<a href=\"mailto:" .$myemail . "@" . $sito . "\">" scrivi</a>";

There is an errant one just before the word scrivi.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...