(PHP Community) Keywords: database
I looked through the manual but I did not find a function to help me out.
How do I print the name of a variable?
For instance I have a variable name $name
$name = "bob";
I want to print out
print "$name = bob
and have the output
$name = bob
I have an upload file form that handles multiple files. When I get the file array from $_FILES each array has the name of the upload field from the form. I want to insert that name into the database as part of the record. I am probably missing something obvious but I cant figure out how to get the name as a string.