ColdFusion Tutorial
Insert data into database
This shows how to insert data into the database.
| <!--- Set the variable First Name. ---> <cfset First_Name = "Tom"> <!--- Set the variable Last Name. ---> <cfset Last_Name = "Jackson"> <!--- Run the insert query. ---> <cfquery name="add_person" datasource="persondb" username="" password=""> INSERT INTO person (Person_First_Name, Person_Last_Name) VALUES ('#First_Name#', '#Last_Name#') </cfquery> |
ColdFusion Tutorial test
Insert data into database
No test is available or implemented for this ColdFusion Tutorial.
No User Comments.
No User Comments, be the first one to write your comments?
