|
L
|
Lawrence Nyaga 8/20/2017 |
|
Check this Out, it might help |
|
|
W
|
wheathcock author 8/20/2017 |
|
Check this Out, it might help [url="https://xlinesoft.com/phprunner/docs/update_multiple_tables.htm"]Update two joined tables[/url]
|
|
|
|
Sergey Kornilov admin 8/21/2017 |
|
You can use LAST_INSERT_ID() in events but you cannot use DAL and need to construct the whole INSERT query manually. That query can be later executed via CustomQuery function. |
|
|
W
|
wheathcock author 8/21/2017 |
|
You can use LAST_INSERT_ID() in events but you cannot use DAL and need to construct the whole INSERT query manually. That query can be later executed via CustomQuery function.
|
|
|
|
Sergey Kornilov admin 8/21/2017 |
|
Your INSERT won't be different from many other INSERT queries. You need to build a proper SQL Query and execute using CustomQuery function. You can find more examples of INSERT statements at https://www.tutorialspoint.com/sql/sql-insert-query.htm |
|
|
W
|
wheathcock author 8/21/2017 |
|
Your INSERT won't be different from many other INSERT queries. You need to build a proper SQL Query and execute using CustomQuery function. You can find more examples of INSERT statements at https://www.tutorialspoint.com/sql/sql-insert-query.htm
|
|
|
|
Sergey Kornilov admin 8/21/2017 |
|
Like I said, the only way to use LAST_INSERT_ID() is to build your own SQL Query. |
|
|
W
|
wheathcock author 8/21/2017 |
|
Like I said, the only way to use LAST_INSERT_ID() is to build your own SQL Query.
|
|
|
|
Sergey Kornilov admin 8/22/2017 |
|
If you do not need to use LAST_INSERT_ID() function you can use PHPRunner's DAL function and the structure of your code looks correct in general. |
|