[PHP-DB] Fw:Requested HolidaySpecial

2001-11-30 Thread usa
To: [EMAIL PROTECTED] From: () Subject: Fw:Requested HolidaySpecial Below is the result of your feedback form. It was submitted by () on Friday, November 30, 2001 at 03:05:27 --- message:

Re: [PHP-DB] MySQL socket error

2001-11-30 Thread Dobromir Velev
Hi, Check if your MySQL server is working properly - this error usually appears when the MySQL server is down. The other thing is to check whether the socket the MySQL server uses is /tmp/mysql.sock and if it is not modify the php configuration variable MYSQL_SOCKET Hope this helps Dobromir

Re: [PHP-DB] set primary key of a mysql-table automatically as value in other tables of the same db

2001-11-30 Thread Dobromir Velev
Hi, First you insert the record in the main table, then using the mysql_insert_id() finction (Check www.php.net/mysql_insert_id for details) you retrieve the new auto_increment value and then you insert the records in the related tables. your script should look something like this: ?

[PHP-DB] Awkward query - simpler method?

2001-11-30 Thread Daniel Barton
Hi, I can't seem to nail down the simplest way to do this. I've got 10-15 lines of code right now to do something that should take less. The following code extracts the names of all the fields in a table, prints them across a table row in their own cells, and then extracts each record and

Re: [PHP-DB] How to install gdlibrary on windows 2000?

2001-11-30 Thread Frank M. Kromann
You can download binaries (from latest cvs) from http://kromann.info/php4.php I'm not compiling all binaries at this point, but this page is updated every morning at 4am. If you want to compile it your self you need MS Visual C++, some libraries (gd, jpeg, png, ttf etc.) some patients. -

[PHP-DB] Help with mail notifying via file upload

2001-11-30 Thread Brian Tegtmeier
Ok here is my story. I have this PHP script that uses a file system and when a person comes to one of my pages, they click the Browse button, click Submit, and get redirected to another page after they have gotten validated for uploading a JPG or Word document. Here is my thing.. I have it

Re: [PHP-DB] Help with mail notifying via file upload

2001-11-30 Thread Daniel Barton
Are you positive fileupload.php is passing $userfile to the mail() script? A blank result would seem to indicate that it's not getting passed. You could try passing it through the URL if they're seperate scripts. Or, you could just include the mail() script in fileupload.php, eliminating the

Re: [PHP-DB] How to install gdlibrary on windows 2000?

2001-11-30 Thread Daniel Barton
I volunteer to be a patient with some patience. Sorry to spam a little humor. -db Frank M. Kromann wrote: You can download binaries (from latest cvs) from http://kromann.info/php4.php I'm not compiling all binaries at this point, but this page is updated every morning at 4am. If you want

RE: [PHP-DB] Re: Alternating rows pulled from database

2001-11-30 Thread Tim Foster
I'm new to PHP, so I don't know if there are any substantive advantages in execution time to any particular method, but here's what I do (granted, I've never tried it in PHP, but I do it all the time in VBScript). $cols = array(#FF, #EEFFEE); for ($i=1; $i=count(mysql_num_rows($return);