[eluser]crimsun[/eluser]
Hi All,
I am the new user of codeignitter....and my work experiance is near about 6 Months....And i want to implement the scaffolding concept in my project.There are so many table in my database i use one source code it will display my all tables but while i am going to make any changes like Add,Edit,Delete Then it gives me error
I submit here ny code please check that is it correct? And give me suggestion
In class
if(!$this->uri->segment(3) == '')
{
$this->load->scaffolding($this->uri->segment(3));
}
In index
$result = mysql_list_tables('demo');
while ($row = mysql_fetch_row($result))
{
echo '<a href="'.site_url('class/secretkey').'/'.$row[0].'">'.$row[0].'</a><br />';
}
it display all table properly but while i make any operation on that it gives error
A Database Error Occurred
Error Number: 1146
Table 'demo.edit' doesn't exist
SHOW COLUMNS FROM `edit`
Please suggest me any suggession
Thanks & Regards
Sanju...