|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10410 display warning BUT update database !!
Submitted: 2001-04-19 17:14 UTC Modified: 2001-04-27 13:23 UTC
From: igardais at yahoo dot fr Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 4.0.4pl1 OS: windows 98
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
2 + 45 = ?
Subscribe to this entry?

 [2001-04-19 17:14 UTC] igardais at yahoo dot fr
Apache 1.3.19 as standalone server
PHP 4.0.4pl1 for Win32 platform
(standard local developpement station for website creation testing)

$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)

Warning: Supplied argument is not a valid MySQL-Link resource in d:\ze_ioio\apache\apache\www\addtodatabase.php on line 44

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 !


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 21 12:01:28 2024 UTC