Kolesnik Yury - 2007-09-19 07:08:10
_______PROBLEM #1_______________________________________________
Working with your class I had problems with the coding of page.
------------------code--------------------------------------------------
$objGrid -> conectadb("127.0.0.1", "tel", "123456", "tel");
mysql_query('SET NAMES cp1251'); - ---------CHARSET DEFAULT-----------
$objGrid->salt("Myc0defor5tr0ng3r-Pro3EctiOn");
$objGrid->language("ru");
$objGrid->buttons(true,false,true,false);
$objGrid->form('employee', true);
$objGrid->searchby("NAME");
$objGrid->tabla ("STREET");
$objGrid->keyfield("ID");
$objGrid->datarows(10);
$objGrid->orderby("ID", "ASC");
$objGrid -> FormatColumn("ID", "ID", 5, 5, 1, "50", "center", "integer");
$objGrid -> FormatColumn("NAME", "Улица", 22, 30, 0, "150", "center");
$objGrid -> FormatColumn("DATE_UPD", "Дата_обновления", 10, 10, 0, "50", "center", "date:dmy:/");
---------------------/code--------------------------------------------------
Image1.gif > Image2.gif - Look images for the given code.
This problem arises at me at switching pages. In what there can be a problem?
_______PROBLEM #2_______________________________________________
You can prompt me how to make, that at editing a line, date of last change was established automatically? Image3.gif - Image4.gif. edit row > date > current_date?????
I am very grateful to you for the help.
images:
russia-yuga.ru/images/Image1.gif
russia-yuga.ru/images/Image2.gif
russia-yuga.ru/images/Image3.gif
russia-yuga.ru/images/Image4.gif