Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: SQL and Placeholders

by Abigail-II (Bishop)
on Mar 16, 2003 at 00:05 UTC ( #243376=note: print w/replies, xml ) Need Help??


in reply to SQL and Placeholders

Did you turn tracing on and saw how DBI deals with your method calls, and what's exactly send to the database?

Abigail

Replies are listed 'Best First'.
Re: Re: SQL and Placeholders
by digger (Friar) on Mar 16, 2003 at 02:13 UTC
    I did a trace as you suggested. I must admit my ignorance of this, but simple perusing of the DBI docs showed me how. I found that a typo in my template was causing additional info to be put into the hidden field. It wasn't showing up when I did a simple print of the value because the extra info was valid html. I must admit, I didn't peek at the html source until I saw the trace. When I saw what showed up in the trace, I was able to fix the problem and everything worked as expected.

    Thanks for all of your responses. Every time I ask a question, I end up learning many new and valuable things. That is one of the reasons I persevere in learning more about perl.

    I will be curling up with the DBI perldoc and probably buying a copy of Programming the Perl DBI from O'Reilly next week as I dig deeper into DB programming with perl.

    Again, thanks to all,
    digger
      I own and that book and can give it a really great recomendation. Lots of useful info laid out very nice

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://243376]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2021-06-25 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (136 votes). Check out past polls.

    Notices?