I want to execute 2 queries:
query1 = "insert into country(id, country)value('UDC:123', 'India')";
query2 = "select * from country";
I tried this mysqli_multi_query but it didn't work.
I want to execute 2 queries:
query1 = "insert into country(id, country)value('UDC:123', 'India')";
query2 = "select * from country";
I tried this mysqli_multi_query but it didn't work.
I'm not sure if this is the exact code you are using, but 9/10 I have missed a space in my querys or some other small thing. I like to echo my querys out to the browsers copy into phpadmin and it will let me know if the query is wrong or if there is another issue. Like I said 9 out of 10 times it's the query.