Execute two INSERT statements

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
iggabz
User
Posts: 106

Execute two INSERT statements

Post by iggabz »

$myResult = ExecuteStatement("INSERT INTO MyTable (Field1, Field2, Field3) VALUES (Value1, Value2, Value3)");
$myResult2 = ExecuteStatement("INSERT INTO MyTable (Field1, Field2, Field3) VALUES (Value1, Value2, Value3)");

is this allow? plan is to insert two rows in a table. using this on row_inserted


mobhar
User
Posts: 11851

Post by mobhar »

Yes, it is allowed.


iggabz
User
Posts: 106

Post by iggabz »

already resolved this. thank you


Post Reply