Get Next Auto Increment on Code Igniter

Code Igniter October 30th, 2008

Today, I got problems to get next auto increment with Code Igniter. In this case, I tried to provide link to view current post page, after users post his blog. For example: blog table contain fields id, title, and body. I used auto increment for id and id as primary key. Users will only fill title and body on form available, and id will automatically auto increment on MySql Table. So I can’t send id by post method.

Well in this case, I need to get next auto increment to detect id on current user post. Why? because I usually sent post id parameters on url. For example: http://localhost/blog/fullpage/45 with base http://localhost/. So, post id placed on segment(2) of uri. Then I make query from table blog where id = uri segment(2) to get fullpage post where id = 45.

Read the rest of this entry »

Sphere: Related Content

Tags: , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Which One Better? Still confusing…

PHP September 19th, 2008

I plan to migrate to PHP Framework, but I’m still looking for Framework that i need. I need to make big application for my next project with PHP. I had try cake and code igniter, but I don’t know which better? My lecturer suggest me to use code igniter, but he’s also suggest me to use Zend or Symfony for better result. Hmm.. I really confusing with it, because i don’t have MVC background in my mind. So I learn by doing.

One day, I tried to searching in Google to find the solution, and I comparison chart for PHP Framework  from http://www.phpit.net/demo/framework%20comparison/chart.php. But I don’t know it’s up to date or not.

Read the rest of this entry »

Sphere: Related Content

Tags: , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Incredible Aflax

Info July 7th, 2008

Do you know about AFLAX?
Someday ago, i Googling for web application framework and I found AFLAX. First, I think this is framework for ajax or something, but after i know AFLAX is Asynchronous Flash and XML.. wow, incredible think=)

AFLAX logos

AFLAX stands for Asynchronous Flash and XML. Defined simply, Aflax is a development methodology which combines Ajax and Flash to create more dynamic web based applications.

Read the rest of this entry »

Sphere: Related Content

Tags: , ,
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5 out of 5)
Loading ... Loading ...

Blogroll Link Update