storing complete email address in mysql using perl
Hi,
I am trying to store complete email address in mysql db, but its not storing '@' symbol. Kindly guide me. I am working on Fedora 10. My perl code is as follows: Code:
#!/usr/bin/perl Code:
Zulfi. |
I'm a little surprised you didn't get an error there... anyway, first I recommend using best practice and amending the top of your prog thus
Code:
#!/usr/bin/perl -w Code:
perl -wc myperl.pl Secondly, look at the paragraph here that mentions '$dbh->quote($string) method' http://www.perlmonks.org/?node_id=162771 See also http://search.cpan.org/~timb/DBI/DBI.pm |
All times are GMT -5. The time now is 01:43 AM. |