Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Recalcitrant placeholders

by Bod (Parson)
on Jul 04, 2021 at 20:31 UTC ( [id://11134633]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $crid = $crm->db->selectrow_array("SELECT idPerson FROM Person WHER
    +E email = ? OR altEmail = ?", undef, $data{'email'}, $data{'email'});
    
    print "ERROR: " . $crm->db->errstr if $crm->db->err;
    
    print "#$data{'email'}# - $crid";
    
  2. or download this
    SELECT idPerson FROM Person WHERE email = 'me@examle.com' OR altEmail 
    += 'me@example.com'
    
     90
    102
    
  3. or download this
    my $query = $crm->db->prepare("SELECT idPerson FROM Person WHERE email
    + = ? OR altEmail = ?");
    $query->execute($data{'email'}, $data{'email'});
    my $crid  = $query->fetchrow_array;
    print "ERROR: " . $crm->db->errstr if $crm->db->err;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11134633]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-19 01:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found