Welcome Guest, Not a member yet? Register   Sign In
Is Scaffolding Suitable or not...........
#1

[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...


Messages In This Thread
Is Scaffolding Suitable or not........... - by El Forum - 11-20-2010, 06:05 AM
Is Scaffolding Suitable or not........... - by El Forum - 11-20-2010, 06:09 AM
Is Scaffolding Suitable or not........... - by El Forum - 11-20-2010, 06:16 AM
Is Scaffolding Suitable or not........... - by El Forum - 11-20-2010, 06:25 AM
Is Scaffolding Suitable or not........... - by El Forum - 11-23-2010, 01:18 AM
Is Scaffolding Suitable or not........... - by El Forum - 11-25-2010, 02:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB