Skip to main content
Recent Posts
3
General Discussion / Combobox label 2 campi
Last post by daninet -
Salve a tutti dovrei gestire in un combo la visualizzazione di 2 campi.
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
6
Questions / Re: "where conditions" at after update
Last post by willvin -
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);
}
7
General Discussion / TabPage + DisplayType
Last post by daninet -
vorrei dare la doppia possibilità di visualizzazione delle lista dei record,.
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 -
Salve a tutti, ho un form dove sono presenti  i dati anagrafici e i dati di contatto.
é 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 -
someone help please
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 -
We are thrilled to introduce a new opportunity for you to showcase your incredible work and earn money through the RadSystems Store! You can now upload your developed projects and templates to our store and earn USD 45 for every purchase.

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/