[PHP-DB] Re: win2k - apache - php files open as text

2001-07-08 Thread Hoth
This Problem I already had. under my mail is a cut of my httpd.conf witch runs under my win2k. Your Problem is that your apache can't understand .php so you had to tell him what should happen with a file where at the end .php is. Therefor add the lines with AddType application I hope this

[PHP-DB] Array processing for Oracle

2001-07-08 Thread snpe
Hello, When will array processing for Oracle fetch be out ? regards -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DB] A very simple MySQL + PHP error

2001-07-08 Thread Brad Lipovsky
I get the following error: //error Warning: Supplied argument is not a valid MySQL result resource in /web/sites/184/syzme/www.syzme.f2s.com/Commerce_System/search.php on line 22 //error when I try to use this code: ?php $Link = mysql_connect ($Host, $User, $Password); //code if ($category) {

[PHP-DB] Re: Homesite Server Mapping

2001-07-08 Thread Hugh Bothwell
Ken Sommers [EMAIL PROTECTED] wrote in message 001001c107e2$b84ad5c0$aa42500c@zeospantera">news:001001c107e2$b84ad5c0$aa42500c@zeospantera... Has anyone successfully mapped their browser to a Remote Server? Please show your: map from: C:\Program Files\Apache Group\Apache\htdocs\ Map to:

Re: [PHP-DB] Re: Homesite Server Mapping

2001-07-08 Thread Ken Sommers
Thanks alot, that mapping works for me too: I use From: C:\Program Files\Apache Group\Apache\htdocs\ To: http://localhost for local mapping Have you ever tried mapping to your REMOTE host? I have tried and failed too many times, what works for Remote mapping? any one ever done it? Thanks,

[PHP-DB] Dynamic SQL + result resource error

2001-07-08 Thread Mark Gordon
Why is this code generating an error when it outputs a valid SQL statement? (there are no parse errors) //$find is text box input $wordsarray = explode( ,$find); $sql = SELECT bandname FROM bands WHERE (bandname LIKE ; $i = 0; while ($i count($wordsarray)) { $word =

RE: [PHP-DB] Dynamic SQL + result resource error

2001-07-08 Thread Matthew Loff
You aren't calling mysql_query() to execute the query. //$find is text box input $wordsarray = explode( ,$find); $sql = SELECT bandname FROM bands WHERE (bandname LIKE ; $i = 0; while ($i count($wordsarray)) { $word = current($wordsarray); next($wordsarray); $sql=$sql.$word);

RE: [PHP-DB] Dynamic SQL + result resource error

2001-07-08 Thread Ben Bleything
Sure he is. Right here: $queryResult = mysql_query($sql); what exact error is occurring? -Original Message- From: Matthew Loff [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 5:00 PM To: 'Mark Gordon'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] Dynamic SQL + result resource error

RE: [PHP-DB] Dynamic SQL + result resource error

2001-07-08 Thread Matthew Loff
The code you're referencing is my modification of his original post. :) -Original Message- From: Ben Bleything [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 8:04 PM To: 'Matthew Loff'; 'Mark Gordon'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] Dynamic SQL + result resource error

RE: [PHP-DB] Dynamic SQL + result resource error

2001-07-08 Thread Ben Bleything
Guess I'm just a big dumbass then, aren't I =P Oops. I suppose that would cause it to fail then, wouldn't it? = Ben -Original Message- From: Matthew Loff [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 5:10 PM To: 'Ben Bleything'; 'Mark Gordon'; [EMAIL PROTECTED] Subject: RE:

RE: [PHP-DB] Dynamic SQL + result resource error

2001-07-08 Thread Matthew Loff
Ha ha... I should have meantioned Here's what it -should- be or something of the like. :) I suspect that was the only problem with his code, but perhaps there's something else there. -Original Message- From: Ben Bleything [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 8:13 PM

[PHP-DB] Login Help

2001-07-08 Thread Kevin
Hello all, I seem to be missing something with my login script, I have a couple of issues: 1) When you do not enter any informaton, it will say: Please fill out all fields to proceed. There seems to be a problem with the database. Now, if i hit enter again it will say: Please fill out all

[PHP-DB] Control Structure Error

2001-07-08 Thread Brad Lipovsky
Here is the code that I am trying to use: //code start function search_terms($title) { $array = explode ( , $title); for($i=0,$n=count($array); $i$n; $i++) { $returned_string = $returned_string . $array[$i] . OR ; } return $returned_string } //code end I want it to turn the string

Re: [PHP-DB] Re: Homesite Server Mapping

2001-07-08 Thread Hugh Bothwell
- Original Message - From: Ken Sommers [EMAIL PROTECTED] To: PHP DB Mailing List [EMAIL PROTECTED]; Hugh Bothwell [EMAIL PROTECTED] Sent: Sunday, July 08, 2001 5:30 PM Subject: Re: [PHP-DB] Re: Homesite Server Mapping Thanks alot, that mapping works for me too: I use From:

RE: [PHP-DB] Control Structure Error

2001-07-08 Thread Ben Bleything
It works for me... except that you need a semi-colon after 'return $returned_string' and it sticks the word OR at the end of the whole string, which you may not want. Does that help, or did I miss the point? Ben -Original Message- From: Brad Lipovsky [mailto:[EMAIL PROTECTED]] Sent:

[PHP-DB] testing ODBC + MSSQL connection locally

2001-07-08 Thread olinux
I would like to begin learning ODBC. Will I be able to set this up on my single local machine? Also, What about connecting to MS SQL server remotely? Will i simply need an IP Port and user/pass? Thank you olinux _ Do You Yahoo!? Get

[PHP-DB] Can anyone recommend PHPLIB?

2001-07-08 Thread Ken Sommers
Can anyone recommend PHPLIB? for authentication and session management? or something else? thanks Ken -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

[PHP-DB] I think the code looks fine... my server doesnt agree

2001-07-08 Thread Tim
I think that the following code looks fine, but I get an error (Warning: Supplied argument is not a valid MySQL result resource) where it says while ($Row = mysql_fetch_array ($Result)) { any ideas? ?php $Link = mysql_connect ($Host, $User, $Password); $title = trim($title); $title2 =

Fwd: Re: [PHP-DB] I think the code looks fine... my server doesnt agree

2001-07-08 Thread Nick O'Reilly
the problem is that your query is not returning a result i would start by changing $Link = mysql_connect ($Host, $User, $Password); AND $Result = mysql_db_query ($DBName, $Query, $Link); To $Link = mysql_connect ($Host, $User, $Password) OR die(could not connect); AND

[PHP-DB] Re: Installing PHP3 with mysql support on MOSXS

2001-07-08 Thread Jeff Grossman
[EMAIL PROTECTED] (Fabian Pichler) wrote: Hello together I'm a real newbie on PHP/Mysql. I'm trying to get PHP/mysql to work together on my MOSXS 1.0-2 Server. Has anyone done this before? My problem is the mysql support (--with-mysql=/usr/local/mysql) in PHP. If I compile the PHP with this