Re: [PHP-DB] Supplied argument is not a valid MySQL result resource...

2001-04-21 Thread Klaus Haberkorn
Looks like many reasons cause this error-message, but I cannot find a problem in the Query: ie.: $db_handle = mysql_connect("localhost", "mysql", "mysql"); if($db_handle) { $result = mysql_db_query("mysql", "select * from user", $db_handle); if($result = TRUE) { $row =

Re: [PHP-DB] Values for Popdownmenu (Categorie and Subcategorie) from MySQL

2001-04-21 Thread olinux
if you want to got the jscript route, try something like this http://www.a1javascripts.com/site_navigation/doublecombo/doublecombo.html then just figure how you want to insert the variables. shouldn't be too hard, just match things up from the working script to the new one. olinux -

[PHP-DB] ? interbase ?

2001-04-21 Thread Bart A. Verbeek
Hello, I'm internet-databasing for over a year now and only used MySQL up untill now. Last week I spoke with a guy that was interested in running Interbase on a Unix-webserver, so I've got a couple of questions... 1. Can interbase be installed and run on every Unix-type (BSD)? I've taken a

[PHP-DB] OOPS

2001-04-21 Thread Sharmad Naik
I wanted to learn OOP in PHP .I m using postgresql and have a table called price containing the price_of_recycle of an object (0th row for bottle, 1st row for create and 2nd row for cans).I wanted to write an OOPS PHP program that would extract the price from the database for the

[PHP-DB] super simple....... but!

2001-04-21 Thread Francois Boucher
I wrote this code but nothing append. If i look de code in the browser it's stopping to starting! What is the problème? HTMLBODY ?php echo "starting..."; if ( mysql_connect("localhost","php","php") ) { echo "ok"; } else echo "error!"; ? /BODY/HTML --

Re: [PHP-DB] Loading jpg (etc)

2001-04-21 Thread Johannes Janson
Hi, why storing the pictures in the db. just store the link to it. just a thought Johannes "Sharmad Naik" [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I wanted to know how to store and retrive images like jpeg,bmp from database.I have a table

Re: [PHP-DB] super simple....... but!

2001-04-21 Thread olinux
mysql_connect returns a positive MySQL link identifier on success, or an error message on failure. You are testing for True/False a better way to do your test would be $link = mysql_connect (localhost, username, password) or die (Could not connect); print (Connection successful!); olinux