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:
>
>
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
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
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.