CodeIgniter Forums

Full Version: FOREIGN keys and scaffolding
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
hi ,
am very new to codeigniter , and the first thing i tried to do is to create the blog example , i tried to continue on that example , so that i want to create comments from the admin side for example using the scaffold .... the form generated display the FOREIGN KEY : blog_id as a text input , but i need it to be a drop down list with data like ( " blog_title , or blog_id ) .
auto generated drop down list for the FOREIGN key .

any body can help , or provide a link to article or tutorial on this issue . Smile

thanks in advance

El Forum

[eluser]verynewtothis[/eluser]
I have struggled with the same in the past... Scaffolding as the manual says is a very basic tool for populating data in the database ... having this feature is something better then inserting data directly from MySQL interface or client tools like phpmyadmin...

May be some one might have bettered it for their private use..