sOKOle has asked for the wisdom of the Perl Monks concerning the following question:
My best friends, please help me to improve this:
The Part of CGI Code is:
When the Name in my Data Base is "Dr. John Bull" only "Dr." is printed. How to improve the code to have full name printed?
Thank you in advance,
Sincerely yours,
sOKOle
The Part of CGI Code is:
The Problem and Question are:$query = "SELECT * FROM users"; $sth = $dbh->prepare($query); $sth->execute(); $sth->bind_columns(undef, \$Name, \$Email); while($sth->fetch()){ print "$Name, $Email";} $sth->finish(); $dbh->disconnect;erl
When the Name in my Data Base is "Dr. John Bull" only "Dr." is printed. How to improve the code to have full name printed?
Thank you in advance,
Sincerely yours,
sOKOle
Back to
Seekers of Perl Wisdom