Gossamer Forum
Home : General : Perl Programming :

Mad...how can it exist, yet it doesnt?

Quote Reply
Mad...how can it exist, yet it doesnt?
This is silly....this code;

Code:
if (!$found) {
if ($debug) { &debug("Wasn't found, so adding $into_cron $query"); }
if ($debug) { &debug("\$query = $query"); }
if ($debug) { &debug("\$into = $into"); }
$back_into_file .= "$into $query\n";
}

Produces;

DEBUG INFO: $query = INSERT INTO
DEBUG INFO: $into = test1234

YET, viewing the contents of $back_into_file shows;

INSERT INTO

...i.e without the $into part! How can the variable exists one line above, but not show on the next? It silly!

Any ideas? Crazy

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Mad...how can it exist, yet it doesnt? Andy 4551 Nov 16, 2002, 11:36 AM
Post Re: [Andy] Mad...how can it exist, yet it doesnt?
Paul 4399 Nov 16, 2002, 12:23 PM
Thread Re: [Andy] Mad...how can it exist, yet it doesnt?
Mark Badolato 4419 Nov 16, 2002, 3:40 PM
Thread Re: [Mark Badolato] Mad...how can it exist, yet it doesnt?
Andy 4403 Nov 17, 2002, 2:51 AM
Thread Re: [Andy] Mad...how can it exist, yet it doesnt?
Andy 4415 Nov 17, 2002, 3:01 AM
Thread Re: [Andy] Mad...how can it exist, yet it doesnt?
Paul 4410 Nov 17, 2002, 3:20 AM
Post Re: [Paul] Mad...how can it exist, yet it doesnt?
Andy 4372 Nov 17, 2002, 3:26 AM