Database driven page |
[eluser]molivetti[/eluser]
Hello everyone, i'm a noob of ci and i am trying to make the database able to create a page. In details i have this page, where i want to show our work (like portfolio/ID), but i don't know how to do this part. I have already set up the db and the portfolio tables, and also read several tutorial but i just can't understand them (i'm not a programmer )
[eluser]Developer13[/eluser]
If I were you I would start with this video tutorial and then pose specific questions afterwards. The tutorial covers what you are looking for.
[eluser]molivetti[/eluser]
Hi developer13, i follow your instruction and now work, but i don't know how to make a particular entry selected. I would use: Code: echo '<li'; if ($id=="'$id'") echo ' id="work-active"'; echo'><a href="'.$base_url.'portfolio/id/'.$row[">'.$row["titolo"].'</a></li>'; but this one not work properly. |
Welcome Guest, Not a member yet? Register Sign In |