Jump to content

[SOLVED] display a record


cleary1981

Recommended Posts

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");

?>
}

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/115986-solved-display-a-record/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.