How can you dump MySql database after each update?
Question by Craig Ward
After I make a change to a database in MySql (Update, Delete, Insert, Create etc) is it possible to get MySql to dump the database or export the last run query to a sql file?
After I make a change to a database in MySql (Update, Delete, Insert, Create etc) is it possible to get MySql to dump the database or export the last run query to a sql file?
I know JavaScript is client side and PHP is server-side. I also know this is an odd question. However, the CMS editor I’m using will not allow php to be stored to the database (it’s the same editor used by Dupral). I can store JavaScript though.
Can I import a php file with JavaScript. Or rather read the php file, store the content in a variable then out put the content to the screen?
Even though you manage to store PHP codes inside javascripts like document.write("<? echo $myvar; ?>"); the portion <? echo $myvar; ?> will simply display as text because only server can parse this type of codes.
However, through AJAX, you can execute the PHP code through Javascript and import the results to display to the user.