cleary1981 Posted July 22, 2008 Share Posted July 22, 2008 Hi, I have a form where I need to display the specified record. How do I use php to display the proper values in fields? For example if i want proj_id to be displayed in text field document.company1.proj_id.value. function get_project() { <?php // using project.value display the details of that record $sql222=mysql_query("SELECT * FROM project WHERE project_name = document.company1.project.value"); ?> } Quote Link to comment https://forums.phpfreaks.com/topic/115986-solved-display-a-record/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.