$query="SELECT * FROM People WHERE Email = '$from1'"; echo "3QUERY - '$query'\n"; echo "3FROM = '$from1'\n"; $result=mysql_query($query) or die( "Unable to view data\n" . mysql_error()); echo "result - '$result'\n";
the above is correct, & the query is correct (compared with another query ive got...) The result DOES NOT EXIST (I know there are no matches)... However :- The '$result' - Comes up with this :- result - 'Resource id #9' Now - Im assuming that "Resource id #9" means there are no records that match the query ? (if so - I can work with this...) - Or does it mean something else ? If there is a record, will the result be something else ? -- G Stewart Gmail invites - Hundreds available.. Gmail : [EMAIL PROTECTED] NZ: [EMAIL PROTECTED] Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
