beginner1 Posted November 3, 2017 Share Posted November 3, 2017 Hi I am trying to add the values in the database. I know that this statement is used to insert the values. Db::getInstance()->insert("ps_mymodulename", $values_array); Have I written the statement correctly? The arguments are correct too? The modules are named in the database with ps_modulename and the second argument is the array that includes the column name as key and arguments as the values in the respective columns in the database. Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now