CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: DBI: Re: [brosskgm] Perl MySQL help with code.: Edit Log


Feb 27, 2013, 10:58 AM

Views: 25068
Re: [brosskgm] Perl MySQL help with code.

I'm confused about this part. In previous you mentioned to put that line in, the link said not to. I did comment that finish line out.

I was getting the declaration error on if($id eq $subscr_id); until I put if($id eq '$subscr_id'); I don't know if that's correct to do.

Then $subscr_id at the bottom is now tossing the error that's just a bit different. I don't know if perl checks the complete script first or as it runs, but this is the fail section if $id does not equal $subscr_id

[Wed Feb 27 10:51:15 2013] [error] [client] [Wed Feb 27 10:51:15 2013] log_it.cgi: Use of uninitialized value $subscr_id in concatenation (.) or string at /var/www/cgi-bin/log_it.cgi line 147., referer: http://www.

(This post was edited by brosskgm on Feb 27, 2013, 10:59 AM)

Edit Log:
Post edited by brosskgm (User) on Feb 27, 2013, 10:59 AM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives