CopyPastor

Detecting plagiarism made easy.

Score: 1.838290825450103; Reported for: String similarity, Exact paragraph match Open both answers

Possible Plagiarism

Plagiarized on 2019-03-11
by Rubin bhandari

Original Post

Original - Posted on 2014-03-13
by Awlad Liton



            
Present in both answers; Present only in the new answer; Present only in the old answer;

you can do it by [multiple statement details][1]
like this:

$sql = "INSERT INTO TABLE1(field1, field2, field3) VALUES('value1',value2,value3); INSERT INTO STOCK(field) VALUES ('value1');"; multi_query($conn,$sql);
you need to use mysqli_* for this. I assume $conn is your mysqli connection
[1]: http://php.net/manual/en/mysqli.quickstart.multiple-statement.php
you can do it by [multiple statement details][1]

like this:
$sql = "INSERT INTO TABLE1(field1, field2, field3) VALUES('value1',value2,value3); INSERT INTO STOCK(field) VALUES ('value1');"; multi_query($conn,$sql); [1]:http://www.php.net/manual/en/mysqli.quickstart.multiple-statement.php
you need to use `mysqli_*` for this. I assume `$conn` is your `mysqli` connection

        
Present in both answers; Present only in the new answer; Present only in the old answer;