RE: Problems using hash.

2001-06-06 Thread Hasanuddin Tamir
On Wed, 6 Jun 2001, Marcos Rodriguez <[EMAIL PROTECTED]> wrote, > At Wednesday, 6 June 2001, you wrote: > > Many thanks for your help but it doesn't work. I don't know if I > am doing anything wrong of there is another problem. I send you complete > string I am using to execute SQL sentence: > >

RE: Problems using hash.

2001-06-06 Thread Marcos Rodriguez
IL PROTECTED] [mailto:[EMAIL PROTECTED]] >Enviado el: martes, 05 de junio de 2001 18:26 >Para: Simon McCaughey >CC: mrodriguez; beginners >Asunto: Re: Problems using hash. > >On Tue, 5 Jun 2001, [EMAIL PROTECTED] wrote: > >> Your problem seems to be in the use of single quote

Re: Problems using hash.

2001-06-05 Thread Ren Maddox
On Tue, 5 Jun 2001, [EMAIL PROTECTED] wrote: > Your problem seems to be in the use of single quotes see my example > code: > > $fields[3]="x"; > $postInputs{'x'}= "the_test"; > > print "('$postInputs{ '$fields[3]'}')"; > print "(\'$postInputs{ $fields[3]}\')"; > > > try that. or just: print

Re: Problems using hash.

2001-06-05 Thread Simon McCaughey
Your problem seems to be in the use of single quotes see my example code: $fields[3]="x"; $postInputs{'x'}= "the_test"; print "('$postInputs{ '$fields[3]'}')"; print "(\'$postInputs{ $fields[3]}\')"; try that. You don't need the inner set of single quotes, and the outer set must be escaped.