View Single Post
  #2 (permalink)  
Old 10-27-2008, 11:02 AM
wige's Avatar
wige wige is offline
Moderator
WebProWorld Moderator
 
Join Date: Jun 2006
Location: United States
Posts: 2,651
wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9wige RepRank 9
Default Re: How to inlcude email in table?

Its the @ symbol in the following line:
$res =get_user($tofriendid,"username",$tofriendemail,"email");
I am assuming the bolded portion is actually "username@domain.com".

Two solutions. Either change the line to this:
$res =get_user($tofriendid,"username",$tofriendemail,'username@domain.com');
(note the quotes) or to this:
$res =get_user($tofriendid,"username",$tofriendemail,"username\@domain.com");
__________________
The best way to learn anything, is to question everything.
Reply With Quote