I am new to php and am trying to learn how to output the result of a query that returns a single field single row to a textbox or simply display on the page itself. Can someone please help me with this please? I have tried and tried but am not getting any closer. I would greatly appreciate it and I thank you in advance. Here is my query: SELECT `fname` FROM `employee` WHERE `id` = '2'