mysql_free_result return ::newbie
| From: | Tom Beidler | Date: | Fri, 15 Sep 2000 00:40:50 +0000 |
| Subject: | mysql_free_result return ::newbie | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16872@lists.php.net to get a copy of this message | ||
This email has two questions.
For starters, I have a bloated form I'm trying to post. Something like 70
fields of information. I thought it would be best to break everything down
into smaller tables. The page I setup sends an email and then "inserts" the
information into one of five tables. I wanted to use the same format to
insert, ie.
$query = "INSERT INTO est_job (contact, ...
VALUES ('$contact', '$company'...
$result = mysql_query ($query)
Once I insert one tables info I would like to use the exact same variables
and format for the next table so I'm assuming I need to execute
mysql_free_result before using $result again. Is this true? Am I making
sense?
The second question is I'm getting the following warning from my
mysql_free_result.
Warning: 1 is not a MySQL result index in estimate/estimate.php3 on line 195
My code is: mysql_free_result ($result);
Any help would be appreciated. I'm new to this stuff but I luvs it!
>>.>>.>>>.>>>>>.>>>>>>>>>
Tom Beidler
Orbit Tech Services
805.455.7119 (c)
805.682.8972
tbeidler@mindspring.com
>>.>>.>>>.>>>>>.>>>>>>>>>