0
10kviews
Write a PHP Program to insert a record into MYSQL database

Mumbai University > information technology > sem 4> Web Programming

Marks: 10M

Year : May16

1 Answer
0
343views

PHP Program to insert a record into MYSQL database

Data can be entered into MySQL tables by executing SQL INSERT statement through PHP function mysql_query. Below a simple example to insert a record into employee table.

Example

The following example to insert record into employee table.

<?php
   $dbhost = 'localhost:3036'; …

Create a free account to keep reading this post.

and 4 others joined a min ago.

Please log in to add an answer.