Forum Moderators: coopster
Output:
Applicant: $database["APPLICANT"]
Loan Number: $database["LOAN NUMBER"]
Everything connects fine and queries alright but, why won't this output correctly? I did a quick fix for it:
Code:
print "Applicant:" . $database['APPLICANT'] . "<br/>";
print "Loan Number:" . $database['LOAN NUMBER'] . "<br/>" ;
Output (what I wanted):
Applicant:Nick's School
Loan Number:006-03-ECA
I just don't understand why my initial try didn't do the job...Can someone please explain it to me?
--Nick
the proper syntax would be the one you used
print "Applicant:" . $database['APPLICANT'] . "<br/>";
print "Loan Number:" . $database['LOAN NUMBER'] . "<br/>" ;
or
print "Applicant: {$database[APPLICANT]} <br/>";
print "Loan Number: {$database[LOAN NUMBER]} <br/>";