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:
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
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:
?
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
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.
-
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
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
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
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);