Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: single quotes and perl
Date: Jan 12 2001 6:05PM
Tanja Davidson writes:
> okay, now I know what was different, in case anyone is interested...
> here's the code I was using for the search in sql:
> $sql="select blah, blah, where name like '" . $lname . "' AND.....
> when I tried it this time I had changed it to this:
> $sql ="select blah, blah, where name like '$lname' and ....
> ie. the lesson learned is NOT to break up my sql string by
Been there, done that...
Michael Peppler - Data Migrations Inc. - firstname.lastname@example.org
http://www.mbay.net/~mpeppler - email@example.com
International Sybase User Group - http://www.isug.com
Sybase on Linux mailing list: firstname.lastname@example.org