RE: [PHP-DB] Fatal error: undefined function mysql_connect()

2001-04-29 Thread Newsletter
Hi there, we have the same problem on our Debian. In the top of the output of phpinfo() says "-with-mysql=share", but there is no section with mysql and the settings further down. Maybe someone knows the answer! Greetings Andi |-Ursprüngliche Nachricht- |Von: winescout [mailto:[EMAIL

[PHP-DB] Intialize PHP Module on Windows98

2001-04-29 Thread Benny
I have a problem on intializing PHP module. I've installed PHP on my windows 98 system. I used PWS. I placed php on c:/Php. My home directory is c:/Inetpub/myfolder. This is the php.ini, Paths and Directories section : doc_root = "c:/Inetpub/myfolder" extension_dir = "

[PHP-DB] installation of ct lib from freetds

2001-04-29 Thread Lester June Cabrera
I'm trying to install CT libraries for Sybase support. Freetds instruction says I need to point my $SYBASE variable to where I have installed freetds. But the $SYBASE variabale is already pointing to the directory where I have installed Sybase. Will this affect Sybase if I change the value of

RE: [PHP-DB] problem with functin newbie please help

2001-04-29 Thread Beau Lebens
also, on line 11 you use a variable called $localhost, i think you mean $hostname, which has the value "localhost" :) that won't help since it will pass a null value and mysql_connect will bork at having too few parameters. and you need to assign your mysql connection to a variable, so that you c

Re: [PHP-DB] interbase (?) field contents does not show

2001-04-29 Thread Meir kriheli
On Sunday 29 April 2001 19:00, GMansky wrote: > I followed the documentation on interbase. I have the following code: > > $rowcount = 0;$dbh = ibase_connect ($host, $username, $password); > $stmt = 'SELECT * FROM contact'; > $sth = ibase_query ($dbh, $stmt); > while ($row = i

Re: [PHP-DB] mySQL connection problem

2001-04-29 Thread winescout
Check to see that mySQL is running on your system. On mine, when it is not, I get an error just like that. Matt ""LENNART KARLSSON"" <[EMAIL PROTECTED]> wrote in message 9cefep$4pu$[EMAIL PROTECTED]">news:9cefep$4pu$[EMAIL PROTECTED]... > Hi! > I have a problem when I try to use a mySQL connecti

Re: [PHP-DB] Fatal error: undefined function mysql_connect()

2001-04-29 Thread winescout
I am having the same problem. I followed the advice of the message below(), and can only find any mention of mySQL in my Configure area. It shows that I configured it with "-with-mysql=share". What is the next step to solving this? Here is some more information that may be usefull. RedHat 7.0 A

[PHP-DB] interbase (?) field contents does not show

2001-04-29 Thread GMansky
I followed the documentation on interbase. I have the following code: lastname . "\n";$rowcount = $rowcount+1; } echo $rowcount;ibase_close ($dbh); ?> $rowcount gave me the correct number of rows but referenceto any field name does not show anything. I tried uppercaseand it

RE: [PHP-DB] problem with functin newbie please help

2001-04-29 Thread Tyrone Mills
Hi Greg, In config.php, line 6 needs a semi-colon on the end. Try that and see if it does the trick. Tyrone -Original Message- From: Greg Kelly [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 29, 2001 11:28 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] problem with functin newbie please hel

[PHP-DB] problem with functin newbie please help

2001-04-29 Thread Greg Kelly
I have a function that I have defined in a filed called config.php. name of function is dbconnect() when I go to call the function I get a Parse error: parse error in /home/test/public_html/include/config.php on line 9 Fatal error: Call to undefined function: dbconnect() in /home/test/public_html

[PHP-DB] PHP problem

2001-04-29 Thread Johan
Dear Sir/Madam, I have a mysql database available with user information. I want that visitors have the change to change their personel information. Now the form works with two different types of fields. edit-fields and selectie/option-lists. How do I get the value of a user from a selectionlists

[PHP-DB] newbie help required re oracle

2001-04-29 Thread Robert
Ok I have looked at the faq and cant find the answer, all I seem to find is the question, everywhere and no help for stupid people like me. I want to use my Oracle db from php and apache. I understand I have to compile php4 with oracle selected as an option. I have failed to do this, and need hel

Re: [PHP-DB] to index or not

2001-04-29 Thread Miles Thompson
Selvin, What database are you using? The latest version of MySQL can, I believe, index text fields, so this would suit both your keywords and description fields. If that's the database you are using I'd read the relevant portion of the docs very carefully and test to match. The index functio

[PHP-DB] to index or not

2001-04-29 Thread Selvin Sakal
i'm makin a search engine the table looks like this - --- | number | name | keywords | description | url | rank | --- query's are made to against keywords, and description which are a blob's.