Friday, November 26, 2010

Is <b>Scaffolding</b> Suitable or not........... | CodeIgniter Forums

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 ‘.’”]’.$row[0].’
‘;
}


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…


View the original article here


Synergy Aluminium Scaffolding Tower

No comments:

Post a Comment