#10410 [Com]: display warning BUT update database !!
| From: | project-hentai493 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:01:12 +0000 |
| Subject: | #10410 [Com]: display warning BUT update database !! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62800@lists.php.net to get a copy of this message | ||
ID: 10410
Comment by: project-hentai493 at hotmail dot com
Reported By: igardais at yahoo dot fr
Status: Bogus
Bug Type: MySQL related
Operating System: windows 98
PHP Version: 4.0.4pl1
New Comment:
<a href=http://100cum-covered-hent.da.ru>hentai
project</a>
Previous Comments:
------------------------------------------------------------------------
[2001-04-19 17:14:57] igardais at yahoo dot fr
config
-------
Apache 1.3.19 as standalone server
PHP 4.0.4pl1 for Win32 platform
(standard local developpement station for website creation testing)
code
-----
<CODE>
$query = "insert into createur (cr_nom, cr_prenom, cr_pseudo, cr_age,
cr_email, cr_homepage) values (\"".$nom."\",
\"".$prenom."\",
\"".$pseudo."\", \"".$age."\",
\"".$email."\", \"".$homepage."\")";
//create the query string
if(($result = mysql_query($query))==FALSE)
{...}
</CODE>
message
--------
Warning: Supplied argument is not a valid MySQL-Link resource in
d:\ze_ioio\apache\apache\www\addtodatabase.php on line 44
problem
--------
Display the message above but still update database !
things tried
-------------
- add $connexion in mysql_query($query, $connexion) => result : same
problem
- print out the string $query before executing it => query is okay
- execute query from mysqlmanager utility => no problem reported by
mysqlmanager
- cut and paste the working mysqlmanager query into source code =>
problem is still there
Please help !
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=10410&edit=1