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!");
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
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?
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-= François Boucher =-
-= [EMAIL PROTECTED]=-
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 individ
Hi,
I wanted to know how to store and retrive images like jpeg,bmp from
database.I have a table called member with mem_id and photo.
Pls instruct how to do it
I m using postgresql but any reference would do
--
The secret of the universe is @*&í!'ñ^#+ NO CARRIER
___
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
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
- Origin
I found out that it is not a question of query-statement.
When I move the test page to my apache-doc-root, it works,
so there should be some configuration necessary..
we'll find it.
"Klaus Haberkorn" <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
9brpnv$5jf$[EMAIL PROTECTED]
> Looks like many rea
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 = mysql_num_rows($