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: 101

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: 11793

Post by mobhar »

Yes, it is allowed.


iggabz
User
Posts: 101

Post by iggabz »

already resolved this. thank you


Post Reply