[PHP] mysql timestamp field

2001-09-06 Thread Mesut Tunga
Hi all, I need an update on my table. but I have a timestamp field called t_stamp. When I update a field other than t_stamp field, t_stamp field also updates to now(). I need it not to update and saves its value. How should I do this? Regards Mesut Tunga... -- PHP General Mailing List (http

[PHP] for() problem on php-4.0.6

2001-07-09 Thread Mesut Tunga
Hi All, a for statment like below has been worked lowe php versions: for ( $idx = 01; $idx = 12; $idx++ ) { echo option value=\$idx\$idx\n; } like 01, 02, 03, 04, ... 12 but same statment on 4.0.6 version, it writes 01, 2, 3, 4, ... 12 what is the different between verisons? or

[PHP] for() problem on php-4.0.6

2001-07-09 Thread Mesut Tunga
Hi All, a for statment like below has been worked lowe php versions: for ( $idx = 01; $idx = 12; $idx++ ) { echo option value=\$idx\$idx\n; } like 01, 02, 03, 04, ... 12 but same statment on 4.0.6 version, it writes 01, 2, 3, 4, ... 12 what is the different between verisons? or

Re: [PHP] session variable problem

2001-04-16 Thread Mesut TUNGA
Merhabalar, firstly do you use windows or linux? id you use windows you shoul give the session_save_path to the script. ( session_save_path("c:\\user\\tmp"); ) if you use linux and no changes in your .ini files, your sessions store in /tmp directory... ?php session_start(); $id = 123;

[PHP] 2 Different Mysql Server Connection Problem

2001-04-14 Thread Mesut TUNGA
initialize character set 30 (path: default) in /home/user/public_html/createtable.php on line 2 on createtable.php line 2 there is mysql_connection command. Is it a bug of php or there would a mistake. if it is a bug is there any patch to solve it? Regards, Mesut Tunga... -- PHP General Mailing