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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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



brosskgm
User

Feb 27, 2013, 10:58 AM


Views: 3638
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 192.168.4.4] [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.192.168.4.4/test.php


(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