[PHP-DB] odbc into associative arrays

2002-07-16 Thread Gabor Niederlaender
Hi all! Is it possible to fetch the odbc results into an associative array? Regards, Gabor -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] Select a subset?

2002-07-16 Thread joakim . andersson
> From: Clive Bruton [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 5:01 PM > > How do I get both the number of rows found (5,000) and get a > subset of > the records (ie 0-9, 10-19, 20-29...) so that a user can > browse through > the records rather than getting 5,000 at a time (but

[PHP-DB] postgresql in windows

2002-07-16 Thread Turbano
Hi, i'm new in this news group, i want to know how can i install postgresql at Windows XP, i found some tutorials, but using CygWin, i can't create the database the scripts says: "CREATE DATABASE ERROR" I found the ODBC driver, install, but can't connect, because he says for i verify if my connec

[PHP-DB] escaping line brakes

2002-07-16 Thread Andy
Hi there, I am putting text into a mysql db from a form field. I do include the linebrakes with line2br. Now I would like to create an interface where I could load the text into the form again to edit it. Unfortunatelly it includes some wired chars like \br into the text. How can I get rid of th

RE: [PHP-DB] header function

2002-07-16 Thread Gary . Every
You'll have to get rid of ALL html, including the in your code below. Gary Every Sr. UNIX Administrator Ingram Entertainment (615) 287-4876 "Pay It Forward" mailto:[EMAIL PROTECTED] http://accessingram.com -Original Message- From: Mohammad Forouhar-Fard [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP-DB] escaping line brakes

2002-07-16 Thread joakim . andersson
> From: Andy [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 16, 2002 2:45 PM > Hi there, > > I am putting text into a mysql db from a form field. I do include the > linebrakes with line2br. > > Now I would like to create an interface where I could load > the text into the > form again to edi

[PHP-DB] PHP and Oracle 7.0

2002-07-16 Thread Chip Atkinson
Greetings, Has anyone gotten oracle 7.0 to work with the latest php? I'm having trouble reliably getting anything back. Thanks in advance, Chip -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Data Synchronization...

2002-07-16 Thread NIPP, SCOTT V (SBCSI)
This is actually more of a MySQL question, but here goes... I have two servers, one production and one development. I would like to use the development server as a backup for the production server. Is there a way to synchronize the MySQL databases between these two servers? I ima

RE: [PHP-DB] Select a subset?

2002-07-16 Thread Clive Bruton
[EMAIL PROTECTED] wrote at 16/07/02 09:44 > $result = mysql_query("SELECT COUNT(*) as numrows FROM >table",$db); > $row = mysql_fetch_array($result); > $num_rows = $row['num_rows']; Joakim, thanks, that sorted it. Just one note, "numrows" in the sql query should be "n

[PHP-DB] Keeps prompting to download php page???

2002-07-16 Thread NIPP, SCOTT V (SBCSI)
I just upgraded to Apache 1.3.26, and everything it fine except PHP. Whenever I try to load a PHP page in the browser, the browser attempts to download the page. I know that I am missing something simple here. Scott Nipp Phone: (214) 858-1289 E-mail: [EMAIL PROTECTED] Web: http:\\ldsa

[PHP-DB] change data before its sent to db?

2002-07-16 Thread chip . wiegand
I have a form with a select box of the 12 months + one for none. It (and more) are sent to a mysql database. On another web page a list is displayed and can be sorted by date, but of course the month names are not alphabetical. I tried to assign each month a number, 01,02,03, etc in a if-elseif st

Re: [PHP-DB] Keeps prompting to download php page???

2002-07-16 Thread Adam Alkins
Wrong list. This is for Databases. Try the php-install list. -- Adam Alkins http://www.rasadam.com -- -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Bypass Trigger on a Query?

2002-07-16 Thread Ryan Jameson (USA)
Anyone know if there is a way to bypass the update trigger on a table for one query, without having to remove the trigger all together? <>< Ryan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] Bypass Trigger on a Query?

2002-07-16 Thread Ryan Jameson (USA)
it's MS SQL btw... :-) -Original Message- From: Ryan Jameson (USA) Sent: Tuesday, July 16, 2002 4:07 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Bypass Trigger on a Query? Anyone know if there is a way to bypass the update trigger on a table for one query, without having to remove the

RE: [PHP-DB] change data before its sent to db?

2002-07-16 Thread Beau Lebens
Chip, a couple ideas 1. why not display the select list something like this Please Select January February ... That way the user sees the names of the months, but your database gets sent nice, easy-to-deal-with numbers? 2. What didn't work with your monthname=>number assignment routine? you s

[PHP-DB] Re: escaping line brakes

2002-07-16 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Hi there, > > I am putting text into a mysql db from a form field. I do include the > linebrakes with line2br. > > Now I would like to create an interface where I could load the text into the > form again to edit it. Unfortunatelly it

Re: [PHP-DB] Data Synchronization...

2002-07-16 Thread Jason Wong
On Wednesday 17 July 2002 01:52, NIPP, SCOTT V (SBCSI) wrote: > This is actually more of a MySQL question, but here goes... > > I have two servers, one production and one development. I would > like to use the development server as a backup for the production server. > Is there a way to syn