Re: Error using databases
| From: | Richard Lynch | Date: | Fri, 03 Aug 2001 22:11:37 +0000 |
| Subject: | Re: Error using databases | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61193@lists.php.net to get a copy of this message | ||
It's also remotely possible that some sort of transaction support is going
on, and/or in conjunction with mysql_pconnect that only after a _pconnect is
dead will the insert get committed...
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: <Jorge Fernando Tamez Seceñas>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Friday, August 03, 2001 11:55 AM
Subject: Error using databases
Hi:
I'm coding my first programs in PHP using MySQL in Windows. I
instaled the Xitami Web Server for Windows.
I have a simple table "catalog" that includes 3 fields and one php
script that insert records into the table "catalog" using a the label <FORM>
and it works ok.
I have another php script that print a the records in a table of
HTML and it doesn't work correctly. The fisrt time I run this code works Ok,
but then I go to add a new record using the fisrt code and then return to
scrip that print the table and it doesn´t consider the last records I added.
I make the consult in mysql.exe and effectively there are the new records. I
have to suthdown the server and start again and the second script work
correclty.
I have been locking how to solve this problem by myself but a
couldn´t. I think that it's a basic problem but I'm beginning in this
programs.
If somebody can help me i would be thankful.
Thanks.
George Tamez