1
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
2
General Discussion / Re: Action after Delete
3
General Discussion / Re: Action after Delete
Action Before Update
Code: [Select]
//query the database and return a single rowAction After Update
$db->where("id", $rec_id );
$rec_name = $db->getOne("jobs")['jobname'];
Code: [Select]
$db ->rawQuery("ALTER TABLE `{$rec_name}`;");
What i missing ?
4
General Discussion / Re: Action after Delete
5
Suggestions / Conditional Fields
6
General Discussion / Action after Delete
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'];Any suggestion ? Thanks .
$db ->rawQuery ("DROP TABLE $rec_name");