Re: [PHP-DB] Fatal error: Call to undefined function: () in add2.php on line 11

2001-02-26 Thread Joe Brown
back to the drawing board... Re-compile php --with-mysql ""jim and lois flaherty"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > help , I have this problem > >I have redhat 7.0 >mysql 3.23 >and php-mysql rpm installed > > my code > > > >

[PHP-DB] Re: array awry

2001-02-26 Thread Rolf Hopkins
This is a PHP question and should really be asked on the PHP list. But a suggestion. Tried using field names instead of number? ie. $myrow["catid"]; I'd have to read up the PHP manual to find out for sure but I'm sure you can do that just as well as I can. - Original Message - From: "

[PHP-DB] array awry

2001-02-26 Thread Keith Spiller
This associative array embedded within a function and declared as a global at the start of the function, is meant to be a multidimensional array, but with every loop of the while ($myrow = mysql_fetch_row($result)) statement, it's previous values are replaced by the new ones. Any ideas on how

[PHP-DB] Fatal error: Call to undefined function: () in add2.php on line 11

2001-02-26 Thread jim and lois flaherty
help , I have this problem I have redhat 7.0 mysql 3.23 and php-mysql rpm installed my code Flaherty Family Page http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [

Re: [PHP-DB] onMouseOver & onMouseOut

2001-02-26 Thread php3
Addressed to: Ron Brogden <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Ron Brogden <[EMAIL PROTECTED]> Mon, 26 Feb 2001 12:27:52 -0800 > > In the real world you cannot trust the end user to send you "safe" > data. If your application depends on a specific tree of eve

Re: [PHP-DB] dns script

2001-02-26 Thread php3
Addressed to: Liz Bander <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Liz Bander <[EMAIL PROTECTED]> Mon, 26 Feb 2001 14:51:07 -0500 > > I'm not sure that this is entirely on topic, but does anyone have a > simple DNS script gleaning from MySQL 3.23 that I could take

RE: [PHP-DB] Can't connect to local MySQL server error

2001-02-26 Thread Rick Emery
I tried: Grant ALL ON *.* to user@localhost IDENIFIED BY "password"; so as to provide access to all tables. I should have stated that the error I got was that I could not connect to the /var/lib/mysql/mysql.sock socket. thanks rick Richard L. Emery IT Sr. Project Manager "There is no 'trying

Re: [PHP-DB] onMouseOver & onMouseOut

2001-02-26 Thread Ron Brogden
At 12:43 PM 2/24/2001 -0300, you wrote: >Are you trying to tell Rudi Ahlers is possible to call php scripts from a >browse event ? The statement "form.submit()" belongs to JavaScript not to >php. Of course not. What I am saying is that client side validation is pretty much useless since you hav

RE: [PHP-DB] Can't connect to local MySQL server error

2001-02-26 Thread Brunner, Daniel
Hello... Try this instead... Grant ALL ON Database_name.* to user@localhost IDENIFIED BY "password"; You can use Grant whatever ON Database_name.*...As well The .* after the Database_name will allow all tables to be accesed by the users, on that Database... It worked great for me... Dan

[PHP-DB] dns script

2001-02-26 Thread Liz Bander
I'm not sure that this is entirely on topic, but does anyone have a simple DNS script gleaning from MySQL 3.23 that I could take a look at? Right now we're doing the manual entry thing, but it's going to get old fast. If you can even direct me to an appropriate source, that would be great. T

RE: [PHP-DB] Can't connect to local MySQL server error

2001-02-26 Thread Rick Emery
I'm also having trouble connecting to the MySQL server. I can connect as root, but not as a user from the command line. When connect to the mysql server as ROOT, I've granted all privileges to the user using 'user@localhost' and 'user@"%" '. Still no luck. I'm using MySQL on Redhat Linux. I'm

Re: [PHP-DB] The dreaded 12154!!

2001-02-26 Thread Kevin Porter
's ok, we've sorted it now... we had installed the oracle s/w in oracle8i user's home directory - we had to set permissions of that to 755. Then, we found we hadn't installed the right language options on the client installations (web server box), so we're nearly there now. - Kev ""Kevin Porte

[PHP-DB] Updating a Grid of Data

2001-02-26 Thread Chris Andrew
My Setup: MySQL and PHP4. Two tables with one to many relationship: tblAccount (AccountId, AccountName, Comment) tblRates (RateId,GrossRate,AER,NetRate,AccountId(foreign key)). There are many rates per account. I need to provide a means for a user to loop through each element in tblRates updatin

[PHP-DB] The dreaded 12154!!

2001-02-26 Thread Kevin Porter
Hi, We're moving a web site to new servers. We've recreated the DB and imported all the data from the old database. I've compiled a new Apache/PHP (1.3.9 / 4.0.1pl2). tnsnames.ora is set up correctly as far as we can tell, but I'm _still_ getting the dreaded 12154 error. We cannot see anything w

Re: [PHP-DB] Oracle 8i questions

2001-02-26 Thread Joe Brown
":body" in sql isn't the same as ":bodytext" in the bindbyname statement, after that, you're in deeper than myself... HTH, -Joe ""Chris Murtland"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I apologize for my cross-post, but since I received no response on

Re: [PHP-DB] Oracle 8i questions

2001-02-26 Thread Andreas Karajannis
Chris Murtland wrote: > I am trying to update an Oracle 8i CLOB field. I have looked at > previous messages on the list and am trying the following: > $sql="update murtland.articles set title='$title',release_date=TO_DATE('$release_date','-MM-DD'),body=:body > text,sectio

Re: [PHP-DB] Interbase + PHP

2001-02-26 Thread Meir kriheli
On Monday 26 February 2001 04:08, Duky wrote: > I am using a Unix/Linux server. How can I recompile my php to use > interbase?? Where can I find that, to recompile? what do I need to > recompile and what do I have to include into that file? I am new to > this. so if somebody can help me out.. real

[PHP-DB] Oracle 8i questions

2001-02-26 Thread Chris Murtland
I apologize for my cross-post, but since I received no response on the general list, I decided I must have posted in the wrong place. I am trying to update an Oracle 8i CLOB field. I have looked at previous messages on the list and am trying the following: $sql="update murtland.articles

[PHP-DB] RE: Join causing Error?

2001-02-26 Thread Johnny Withers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maybe this will help: Break the query up into a variable so PHP can string it together better. Exec. the query, check the result, if good, check the results for rows, if results, display results, else, do nothing, if query faield, set err to 1 and set

Re: [PHP-DB] cookies, email and passwords

2001-02-26 Thread JJeffman
Have a look on PHP manual there is good information on mail functions, setcookie function, and other stuff. HTH Jayme. -Mensagem Original- De: Matthew Cothier <[EMAIL PROTECTED]> Para: <[EMAIL PROTECTED]> Enviada em: domingo, 25 de fevereiro de 2001 17:13 Assunto: [PHP-DB] cookies, email

Re: [PHP-DB] Server side or client side?

2001-02-26 Thread JJeffman
That's what I've been telling to who asked about filling drop down lists at run time: When the amount of data is small you can generate JavaScript arrays to hold it otherwise you MUST reload the page to run your php script to fill up drop down lists. HTH. Jayme. -Mensagem Original- De:

Re: [PHP-DB] OCI 8 and rowid cause SIGSEGV

2001-02-26 Thread Thies C. Arntzen
On Sat, Feb 24, 2001 at 05:43:58PM +0100, Sven Voigt wrote: > On Friday 23 February 2001 17:03, you wrote: > > I suppose the authors never concieved a replacement parameter for select > > > > specification. > > > > try: > > > $sql =3D "select foo, bar, rid from masterdata WHERE rid=3D:rid" > > > >

Re: [PHP-DB] Server side or client side?

2001-02-26 Thread Uioreanu Calin
Hello, I see here a problem in jsclient-side generated code. Suppose 1st list (category) has 100 elements and second list, the products (ex.) has each 200 elements. a code that prevents selecting in 1st list the category would select all 100 x 200 elements and use js to display the correct list.