Re: [PHP-DB] grabbing id from new record

2002-01-14 Thread Ireneusz Piasecki
Hi. What about Auto_increemnt field ?? Your's id can be auto_increment field. for example: create table dupencja (id int(7) auto_increment not null, primary key(id)); so when you insert records: insert into dupencja values('') - id will be 1 insert into dupencja values('') - id will be 2 this

Re: [PHP-DB] Problem with buttons

2001-12-27 Thread Ireneusz Piasecki
- Original Message - From: markus|lervik [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 27, 2001 9:47 AM Subject: [PHP-DB] Problem with buttons Hello everyone! Does anyone know what the problem might be with the following little php-snippet? print(TR TD

[PHP-DB] Lost connection to MySQL server during query

2001-03-16 Thread Ireneusz Piasecki
Hi evryone ! I have folowing error during execute my php3 script. Warning: MySQL Connection Failed: Lost connection to MySQL server during query in /home/sw81/public_html/miss_wiosna_01/info.php3 on line 59 This happened somtimes. Can i do something with it ?? Ireneusz Piasecki webmaster

[PHP-DB] Problems with PHP4.0.4pl1 and mysql, when mysql uses another charsets(latin2)

2001-03-01 Thread Ireneusz Piasecki
. I have apache and php 4.0.4pl1 on my win98 machine. That errors don't occur. What can i solve this problem ?? Ireneusz Piasecki webmaster www.b-c.pl KomNet s.c [EMAIL PROTECTED] tel: 0 606 356 235 [EMAIL PROTECTED]