Auto fill in input value based on User_ID

Posted on 16th Feb 2014 by admin

Hello,

I'm looking form some input on the following problem.

User loads page -> page loads values from database and inputs them in boxes -> user edits input boxes -> new values saved to database

Everything works except the "page loads values from database". Somehow it works in the "email" field (the email field displays the email adress loaded from the database) but it doesnt in the "bedrijfsnaam" field. The bedrijfsnaam field stays empty.. whatever I try it does not work.

I pastebinned the entire code here:
http://pastebin.com/m6c34089a

Other forums