PHP Classes

autoid

Recommend this page to a friend!

      phpMyDataGrid - AJAX Enabled Datagrid  >  All threads  >  autoid  >  (Un) Subscribe thread alerts  
Subject:autoid
Summary:fields of AutoIncrementID in nature but not actually
Messages:1
Author:Edwin Cadthuz
Date:2007-01-07 07:06:14
 

  1. autoid   Reply   Report abuse  
Picture of Edwin Cadthuz Edwin Cadthuz - 2007-01-07 07:06:14
i've defined some fields that are simply defined as integer. But when i give it in the phpMyDataGrid i wanted it in the nature of autoId. If I define it as autoID field it increments to the next but not updated in the table when it is saved (for it is not defined as an autoincrement field).

Also, when I give a part of the table into the grid by giving a category filter the auto increment field is not showing the actual increment as per the table. It only gives the increment as per the grid.

I also have an idea of giving having the feature of multiple autoincrement fields to the phpMyDataGrid. eg: 1. an ID of record, a SNO field for each category etc., default value for a field which is readonly