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 - faithslitz

1
General Discussion / Re: Action after Delete
[Solved] With you project it work , with my not work ,maybe because i make changes after this post . I wanna thank you much for your patience .
3
General Discussion / Re: Action after Delete
I try to make the same operation on "Edit Page " to prevent errors after rename "jobsname" . but is not the same as "Action After Delete"
Action Before Update
Code: [Select]
//query the database and return a single row
$db->where("id", $rec_id );
$rec_name = $db->getOne("jobs")['jobname'];
Action After Update
Code: [Select]
$db ->rawQuery("ALTER TABLE `{$rec_name}`;");

What i missing ?
5
Suggestions / Conditional Fields
As tittle i wish to have in next versions the possibilities to make Conditional Fields . Thanks
6
General Discussion / Action after Delete
Hi guys .
I have built a simply app  with a table "Jobs" witch store all jobs details , When i create new row inside this table will create new table in database with table name based on "jobname" and this work like a charm .
But  i can't make working Action after Delete . 
Here is my code in Action After delete :
Code: [Select]
$rec_name = $modeldata['jobname'];
$db ->rawQuery ("DROP TABLE $rec_name");
Any suggestion ? Thanks .