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 - Slax Rooth

3
General Discussion / Re: Action afterd Add
Thanks willvin for your attention , look attached file , this an example file  .
Note : if i change inside raw query $rec_name with $rec_id it work , but i want to name the table as $rec_name .
If need sql database writeme.
4
General Discussion / Re: Action afterd Add
The error code :  SQLSTATE[42000]: Syntax error or access violation: 1103 Incorrect table name ''
                          C:\laragon\www\testrad\app\models\PDODb.php On Line 1611

......
5
General Discussion / Action afterd Add
Hi there, i need your help , I'm very beginner .
In my little project i have  one table "works"  with following columns : id;name ;date  . but i try  to make  an action after add data to create another table  where table name  must be like  name of the work ,this is the code inserted :
$db ->rawQuery ("CREATE TABLE `$rec_name` (
    `uuid` INT(11) NULL DEFAULT NULL,
    `id` INT(11) NOT NULL AUTO_INCREMENT,
    `unit_number` VARCHAR(255) NULL DEFAULT NULL,
    `instrument_type` VARCHAR(255) NULL DEFAULT NULL,
    `instrument_info` VARCHAR(255) NULL DEFAULT NULL,
    PRIMARY KEY (`id`),
    UNIQUE INDEX `unit_number` (`unit_number`),
)
COLLATE='latin1_swedish_ci'
ENGINE=InnoDB
ROW_FORMAT=DYNAMIC
AUTO_INCREMENT=1
;")

Anyone can help me . Thanks in advance
6
General Discussion / error on fist Publish
Hello , i have installed phprad 2.6.2 , and i give following error :

Parse error: syntax error, unexpected '__htmleditorplugincss' (T_STRING) in D:\Laragon\www\test\app\views\layouts\main_layout.php on line 19
sombody can help me ?