From:             [EMAIL PROTECTED]
Operating system: windows 98
PHP version:      4.0.4pl1
PHP Bug Type:     MySQL related
Bug description:  display warning BUT update database !!

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 

Please help !

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to