Re: PHP & MySQL database insertion problem
<?php
$sql = 'INSERT INTO table1 (id,firstname) VALUE (4,'Dino')';
$res = mysqli_query( $sql ) or exit( mysqli_error($connect) ); // call the query
if( !$res ) exit( exit( mysqli_error($connect) ); // $res=0 if Insert failed
...
?>
Subject
Written By
Posted
February 19, 2015 08:46AM
Re: PHP & MySQL database insertion problem
February 19, 2015 12:48PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.