Skip navigation links

MySQL Forums :: Perl :: What wrong with my DBI?


Advanced Search

Re: What wrong with my DBI?
Posted by: Randy Clamons ()
Date: August 07, 2007 04:43PM

Strings must be quoted.

$myquery = "SELECT * FROM $tablename WHERE ligand_name = '$l_name'";
or
$myquery = "SELECT * FROM $tablename WHERE ligand_name = /"$l_name/"";

Options: ReplyQuote


Subject Written By Posted
What wrong with my DBI? luke Peng 08/07/2007 03:55PM
Re: What wrong with my DBI? Randy Clamons 08/07/2007 04:43PM
That works thanks a lot luke Peng 08/08/2007 08:16AM
Re: That works thanks a lot Randy Clamons 08/08/2007 12:00PM
Re: What wrong with my DBI? luke Peng 08/08/2007 08:32AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.