1
2
General Discussion / Re: Combobox label 2 campi
Last post by daninet -3
General Discussion / Combobox label 2 campi
Last post by daninet -La query che ho è questa:
SELECT DISTINCT id AS value, modello AS label FROM dispositivi WHERE idcliente= ? ORDER BY matricola ASC"
accanto al modello dovrei far vedere matricola sempre come label, è fattibile ? tipo
SELECT DISTINCT id AS value, modello|matricola AS label FROM dispositivi WHERE idcliente= ? ORDER BY matricola ASC"Co
4
Questions / Re: "where conditions" at after update
Last post by jan -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);
}
5
General Discussion / Re: Raggruppare campi in groupBox
Last post by willvin -Note that you only configure it on the field you want to start the group with.
6
Questions / Re: "where conditions" at after update
Last post by willvin -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);
}
7
General Discussion / TabPage + DisplayType
Last post by daninet -Ho inserito nella pagina un tab e associato "ContattiListView".
vorrei che nel primo tab sia displaytype=list, nel secondo displaytype=grid;
I would like to give the double possibility of viewing the list of records.
I inserted a tab into the page and associated "ContactsListView".
I would like displaytype=list in the first tab, displaytype=grid in the second;
8
General Discussion / Raggruppare campi in groupBox
Last post by daninet -é possibile nella stessa pagina raggruppali e in due groupbox separati ? ed inoltre mettere eventualci campi sulla stessa riga ?
Es.
Nome
Cognome
Data di Nascita
Tel.
Cell.
Fax.,
Es. NOME COGNOME
9
Questions / "where conditions" at after update
Last post by jan -so i want to insert my data on other table where the one of my field has "1" value
but the problem is, my data still insert on other table where my field has no "1" value
Code: [Select]
$table_data = array(
"user_id" => $_POST["id"],
"name" => $_POST["nama"],
"status" => $_POST["user_status"]
);
$db->where("user_status",'1');
$bool = $db->insert("tb_name", $table_data);
10
My creations / Radsystems Store App Submission
Last post by support -This is a fantastic chance to share your innovative solutions with our growing community of developers, entrepreneurs, and businesses worldwide. By uploading your projects, not only will you contribute to the community, but you'll also gain exposure and reward for your creativity and hard work.
https://store.radsystems.io/dev/