dr7tbien Posted April 27, 2012 Share Posted April 27, 2012 Hi. I'm using the following code in order to save a write a category in the database: <? /* * modify_cat.php - modify categories */ include_once "../config/autoload.php"; // load category with id = 3 $category = new Category(3); $category->name = "test name"; $category->re_write = "test rewrite"; $category->update(); ?> Then when I exceute the script the values are not catching and the data captured is very dissapointed. Then I'd like to know to keep data usig similar code... I'm sure my code is no good. Any Suggestion? dr7tbien Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now