RE: Problems using hash.

2001-06-06 Thread Marcos Rodriguez
gt;> >> try that. > >or just: > >print "('$postInputs{ $fields[3]}')"; > >In other words, what the OP was originally doing with "('name')" is >exactly the same thing that he needs to do with a variable. > >> You don't need the inner set of single quotes, and the outer set >> must be escaped. > >Single quotes do not need to be escaped inside double quotes. > >-- >Ren Maddox >[EMAIL PROTECTED] > Marcos Rodriguez http://www.vampsecure.com email:[EMAIL PROTECTED]

Problems using hash.

2001-06-05 Thread Marcos Rodriguez
se this sentence when I try to execute the INSERT it inserts blanks # $fields[3] = name # if I use my $sql_inserta="INSERT INTO $tabla ($fields[3]) VALUES ('name')"; it works Can anyone help and say me how can I use ...('$postInputs{ '$fields[3]'}