Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - willvin

2
Questions / Re: "where conditions" at after update
it is an update you need to do and not insert.
Code: [Select]
$table_data = array(
    "user_id" => $_POST["id"],
    "name" => $_POST["nama"],
    "status" => $_POST["user_status"]
);

$db->where("user_status",'1');
$bool = $db->update("tb_name", $table_data);}

But if mean that you wan to check user_status from post the you can use an if statement.

Code: [Select]
$table_data = array(
    "user_id" => $_POST["id"],
    "name" => $_POST["nama"],
    "status" => $_POST["user_status"]
);
if($_POST["user_status"] == '1') {
    $bool = $db->insert("tb_name", $table_data);
}
3
Questions / Re: error online
Make sure of the following:
1. You uploaded the .htaccess file generated at your project's root.
2. That your Apache server has mod_rewrite enabled.
4
Questions / Re: Field Control Properties
set the required to false and then you can use js to set it to required or not.  Setting required to true, will throw errors as the server is also expecting that field, but if you make it not required, the server code will not be expecting that field.
8
Issues / Re: UseHTMLEditor Not Working
if it is not working, it means the html editor plugin file did not load properly. first make sure you are using the latest browsers and it is up to date. Secondly, clear your browser cache and cookies or use private mode in the browser..
14
Questions / Re: Change Theme
To use AdminLite, you will have to modify the generated project manually, after you are done generating the project for production.