Originally posted by seanpaulcail
I perform a query then I want to present a link to an email adfdress
here's the line that doesn'y work
print '<a href="mailto:'. $qry["email"]. '" class="smallLink">$qry['email']</a>';
I know it's a simple syntax issue.
but I can't figure it out
thanks [/B]
Perhaps this would work better:
'<a href=\"mailto:'. $qry["email"]. '\" class=\"smallLink\">$qry['email']</a>';
You need to mark the qoutation marks as special charactors. Please let me know if this helps as I am also quite new at this.
-=It's only getting worse from here =-
Art